diff options
| author | navewindre <boneyaard@gmail.com> | 2025-06-18 05:14:57 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-06-18 05:14:57 +0200 |
| commit | 206896b42d5c8921314267eb300f70c2e1aac374 (patch) | |
| tree | 5d96fda4b1e6843d6b62fc70ef9e9efa350851ad /slackware-bootstrap/bootstrap | |
| parent | 4db9df83e5f7b4abdd49d0bc4139cfb95b07e60f (diff) | |
fix
Diffstat (limited to 'slackware-bootstrap/bootstrap')
| -rwxr-xr-x | slackware-bootstrap/bootstrap | 5 |
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." |
