diff options
Diffstat (limited to 'slackware-bootstrap/step2-finish')
| -rwxr-xr-x | slackware-bootstrap/step2-finish | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slackware-bootstrap/step2-finish b/slackware-bootstrap/step2-finish index 595f5a3..da58e62 100755 --- a/slackware-bootstrap/step2-finish +++ b/slackware-bootstrap/step2-finish @@ -1,5 +1,7 @@ #!/bin/bash +basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + if [[ -f "~/.nreboot" ]]; then echo "sh $basedir/finish" >> /root/.bash_profile echo "rm -f /root/.bash_profile" >> /root/.bash_profile |
