summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'slackware-bootstrap/bootstrap')
-rwxr-xr-xslackware-bootstrap/bootstrap5
1 files changed, 4 insertions, 1 deletions
diff --git a/slackware-bootstrap/bootstrap b/slackware-bootstrap/bootstrap
index a3ed3cc..d628cd6 100755
--- a/slackware-bootstrap/bootstrap
+++ b/slackware-bootstrap/bootstrap
@@ -47,7 +47,8 @@ if [[ $choice == "y" ]]; then
fi
if [[ $nreboot == 1 ]]; then
- echo "rm -rf /root/.bashrc" >> /root/.bashrc
+ echo "sh $basedir/finish" >> /root/.bashrc
+ echo "rm -f /root/.bashrc" >> /root/.bashrc
echo "============================ [ reboot ] ==========================="
printf "\x1b[1;31mupon reboot, make sure to log in as ROOT first !!!\x1b[0;0m\n"
echo "==================================================================="
@@ -55,6 +56,8 @@ if [[ $nreboot == 1 ]]; then
echo "rebooting..."
reboot
else
+ sh $basedir/runlevel
+
echo "============== [ setup done ] ==============="
echo "username: $username"
echo "you may now log into your user account."