From 206896b42d5c8921314267eb300f70c2e1aac374 Mon Sep 17 00:00:00 2001 From: navewindre Date: Wed, 18 Jun 2025 05:14:57 +0200 Subject: fix --- slackware-bootstrap/bootstrap | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'slackware-bootstrap/bootstrap') 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." -- cgit v1.2.3