summaryrefslogtreecommitdiffstats
path: root/etc/rc.suspend
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.suspend')
-rwxr-xr-xetc/rc.suspend6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/rc.suspend b/etc/rc.suspend
index 9b6f815..24136d1 100755
--- a/etc/rc.suspend
+++ b/etc/rc.suspend
@@ -4,8 +4,7 @@
#
# sample run command file for APM Suspend Event
-if [ -f /var/run/rc.suspend.pid ]
-then
+if [ -r /var/run/rc.suspend.pid ]; then
exit 1
fi
@@ -13,7 +12,7 @@ echo $$ > /var/run/rc.suspend.pid
# If you have troubles on suspending with PC-CARD modem, try this.
# See also contrib/pccardq.c (Only for PAO users).
-#pccardq | awk -F '~' '$5 == "filled" && $4 ~ /sio/ \
+# pccardq | awk -F '~' '$5 == "filled" && $4 ~ /sio/ \
# { printf("pccardc power %d 0", $1); }' | sh
logger -t apmd suspend at `date +'%Y%m%d %H:%M:%S'`
@@ -24,4 +23,3 @@ rm -f /var/run/rc.suspend.pid
zzz
exit 0
-
OpenPOWER on IntegriCloud