diff options
| author | navewindre <boneyaard@gmail.com> | 2025-07-03 22:59:19 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2025-07-03 22:59:19 +0200 |
| commit | 1acf0d3a2a4e92af9634ad6e255b22c8e48b5f95 (patch) | |
| tree | 44ad2ff3d824f94c3b8439756af613a055000276 /slackware-bootstrap/step2-finish | |
| parent | c6c0f342c889eee0e6db6a192a3b5aad510120a7 (diff) | |
a
Diffstat (limited to 'slackware-bootstrap/step2-finish')
| -rwxr-xr-x | slackware-bootstrap/step2-finish | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/slackware-bootstrap/step2-finish b/slackware-bootstrap/step2-finish new file mode 100755 index 0000000..595f5a3 --- /dev/null +++ b/slackware-bootstrap/step2-finish @@ -0,0 +1,21 @@ +#!/bin/bash + +if [[ -f "~/.nreboot" ]]; then + echo "sh $basedir/finish" >> /root/.bash_profile + echo "rm -f /root/.bash_profile" >> /root/.bash_profile + echo "============================ [ reboot ] ===========================" + printf "\x1b[1;31mupon reboot, make sure to log in as ROOT first !!!\x1b[0;0m\n" + echo "===================================================================" + read -p "press enter to reboot your system" + echo "rebooting..." + reboot +else + sh $basedir/runlevel + sh $basedir/cleanup + + echo "============== [ setup done ] ===============" + echo "username: $username" + echo "you may now log into your user account." + echo "it is recommended to reboot your system now." + echo "==============================================" +fi |
