From 94291899afc6c7a079889beed2b9dbc79588a585 Mon Sep 17 00:00:00 2001 From: navewindre Date: Fri, 4 Jul 2025 09:04:54 +0200 Subject: a --- slackware-bootstrap/step2-finish | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slackware-bootstrap/step2-finish') 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 -- cgit v1.2.3