From 5f87c831c169a174d1ba64a6f5152c06a02e1bca Mon Sep 17 00:00:00 2001 From: navewindre Date: Wed, 18 Jun 2025 07:51:42 +0200 Subject: opps --- slackware-bootstrap/step1 | 2 +- slackware-bootstrap/step2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/slackware-bootstrap/step1 b/slackware-bootstrap/step1 index d303a96..8085554 100644 --- a/slackware-bootstrap/step1 +++ b/slackware-bootstrap/step1 @@ -3,7 +3,7 @@ basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) sh $basedir/slackpkg -echo "sh $basedir/step2" >> /root/.bashrc +echo "sh $basedir/step2" >> /root/.bash_profile echo "=================== [ system reboot ] ==================" printf "\x1b[1;31mREAD CAREFULLY:\033[0m\n" diff --git a/slackware-bootstrap/step2 b/slackware-bootstrap/step2 index 9190bf0..4b04b0b 100644 --- a/slackware-bootstrap/step2 +++ b/slackware-bootstrap/step2 @@ -34,8 +34,8 @@ if [[ $choice == "y" ]]; then fi if [[ $nreboot == 1 ]]; then - echo "sh $basedir/finish" >> /root/.bashrc - echo "rm -f /root/.bashrc" >> /root/.bashrc + echo "sh $basedir/finish" >> /root/.bash_profile + echo "rm -f /root/.bashrc" >> /root/.bash_profile echo "============================ [ reboot ] ===========================" printf "\x1b[1;31mupon reboot, make sure to log in as ROOT first !!!\x1b[0;0m\n" echo "===================================================================" -- cgit v1.2.3