aboutsummaryrefslogtreecommitdiffstats
path: root/event.d
diff options
context:
space:
mode:
Diffstat (limited to 'event.d')
-rw-r--r--event.d/rcS-sulogin3
1 files changed, 0 insertions, 3 deletions
diff --git a/event.d/rcS-sulogin b/event.d/rcS-sulogin
index c7866b93..59a0b4d3 100644
--- a/event.d/rcS-sulogin
+++ b/event.d/rcS-sulogin
@@ -13,12 +13,9 @@ script
exec /bin/bash
end script
post-stop script
- echo $* > /tmp/sulogin.$$
- set >> /tmp/sulogin.$$
if [ "$1" = "S" ]; then
runlevel=$(/bin/awk -F ':' '$3 == "initdefault" { print $2 }' /etc/inittab)
[ -z "$runlevel" ] && runlevel="3"
exec telinit $runlevel
fi
end script
-