summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-06-18 07:51:42 +0200
committernavewindre <boneyaard@gmail.com>2025-06-18 07:51:42 +0200
commit5f87c831c169a174d1ba64a6f5152c06a02e1bca (patch)
treee14ff472fcdd0be712a97710db29d01a89db9abb
parent6c61d7084354f382428c3bd3dd16a499eb7e746b (diff)
opps
-rw-r--r--slackware-bootstrap/step12
-rw-r--r--slackware-bootstrap/step24
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 "==================================================================="