aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-08-15 23:55:24 -0500
committerThomas Bächler <thomas@archlinux.org>2009-08-22 11:23:20 +0200
commitd1f86dbf7819a782df812dde8282a03ab1f82faf (patch)
treef809f5b3102530b0a13232302d7fb9770e9d16a8 /rc.shutdown
parentac3baddf04b62e4bb55f7a2d0d34d78191ac815d (diff)
downloadinitscripts-d1f86dbf7819a782df812dde8282a03ab1f82faf.tar.xz
Remove USEDIRECTISA and associated code
man hwclock implies this option is rarely necessary, and (almost) all systems Arch supports surely have a /dev/rtc device and load the rtc driver in the kernel. Even if this is not available, hwclock will fall back to direct I/O requests anyway. As a side note, the adjtime cronjob didn't even respect this setting anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown3
1 files changed, 0 insertions, 3 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 39f762e..b0d8195 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -80,9 +80,6 @@ elif [ "$HARDWARECLOCK" = "localtime" ]; then
else
HWCLOCK_PARAMS=""
fi
-if [ "$USEDIRECTISA" = "yes" -o "$USEDIRECTISA" = "YES" ]; then
- HWCLOCK_PARAMS="$HWCLOCK_PARAMS --directisa"
-fi
if [ "$HWCLOCK_PARAMS" != "" ]; then
/sbin/hwclock $HWCLOCK_PARAMS
fi