aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-04-06 23:20:37 +0200
committerThomas Bächler <thomas@archlinux.org>2008-04-06 23:20:37 +0200
commit89355a468670983476d29b415c12e097d5d79ca5 (patch)
tree030ed45f986ce38de4e873cb1172aa9535e3d822 /rc.shutdown
parentb55845f7d0e3c81f1936d471370dcb40822463b0 (diff)
downloadinitscripts-89355a468670983476d29b415c12e097d5d79ca5.tar.xz
Fix USEDIRECTISA in rc.shutdown as well
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 1ea8b17..a572eeb 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -66,7 +66,7 @@ if [ "$HARDWARECLOCK" = "UTC" ]; then
else
HWCLOCK_PARAMS="$HWCLOCK_PARAMS --localtime"
fi
-if [ "$USEDIRECTISA" != "no" ]; then
+if [ "$USEDIRECTISA" = "yes" -o "$USEDIRECTISA" = "YES" ]; then
HWCLOCK_PARAMS="$HWCLOCK_PARAMS --directisa"
fi
/sbin/hwclock $HWCLOCK_PARAMS