diff options
-rw-r--r-- | event.d/rcS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/event.d/rcS b/event.d/rcS index e50e897f..1c0a54be 100644 --- a/event.d/rcS +++ b/event.d/rcS @@ -17,7 +17,7 @@ script runlevel --reboot || true end script post-stop script - if [ "$UPSTART_EVENT" == "startup" ]; then + if [ "$UPSTART_EVENT" = "startup" ]; then runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab) [ -z "$runlevel" ] && runlevel="3" for t in $(cat /proc/cmdline); do |