commit 01ae264290a82674c857097c9678069dff95b10d
parent 48c6f5a771eae2bab44752b247c1ca470149ceb7
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Tue, 15 Nov 2022 03:46:30 +0100
Fix comment, do not use "linux" as TERM
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/install b/install
@@ -107,10 +107,7 @@ EOF
# runlevel {{{1
"$cmd/s6-cat" >"$dst/init/scripts/runlevel" <<EOF || exit $?
#!$sm_dst_package/command/execlineb -S1
-export TERM "linux"
-
-# The requested runlevel is in "\$1" but currently ignored.
-
+# The requested runlevel is in "\$1", use it as bundle name
$qc/if -Xnt { $qc/s6-rc -v 2 -t 600000 -- change \$1 }
$qc/foreground { $qc/s6-echo "* System startup failure: retry once" }
$qc/foreground { sleep 0.1 }