aboutsummaryrefslogtreecommitdiffstats
path: root/event.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-07-28 09:54:29 -0400
committerBill Nottingham <notting@redhat.com>2009-07-28 09:54:29 -0400
commitca2467cbb92c7d7cb9f9c5f260aceeaa86a1de38 (patch)
treeb630d39b30c8d79b0ee401ef86a9bbecf970fd26 /event.d
parentccc35a7361fb0417dfcfccf3638b89b69b67fbed (diff)
downloadinitscripts-ca2467cbb92c7d7cb9f9c5f260aceeaa86a1de38.tar
initscripts-ca2467cbb92c7d7cb9f9c5f260aceeaa86a1de38.tar.gz
initscripts-ca2467cbb92c7d7cb9f9c5f260aceeaa86a1de38.tar.bz2
initscripts-ca2467cbb92c7d7cb9f9c5f260aceeaa86a1de38.tar.xz
initscripts-ca2467cbb92c7d7cb9f9c5f260aceeaa86a1de38.zip
Fix bash-ism.
Diffstat (limited to 'event.d')
-rw-r--r--event.d/rcS2
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