diff options
author | Dan McGee <dan@archlinux.org> | 2009-08-15 23:55:24 -0500 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-08-22 11:23:20 +0200 |
commit | d1f86dbf7819a782df812dde8282a03ab1f82faf (patch) | |
tree | f809f5b3102530b0a13232302d7fb9770e9d16a8 | |
parent | ac3baddf04b62e4bb55f7a2d0d34d78191ac815d (diff) | |
download | initscripts-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>
-rw-r--r-- | rc.conf | 2 | ||||
-rwxr-xr-x | rc.shutdown | 3 | ||||
-rwxr-xr-x | rc.sysinit | 3 |
3 files changed, 0 insertions, 8 deletions
@@ -8,7 +8,6 @@ # # LOCALE: available languages can be listed with the 'locale -a' command # HARDWARECLOCK: set to "UTC" or "localtime" -# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock # TIMEZONE: timezones are found in /usr/share/zoneinfo # KEYMAP: keymaps are found in /usr/share/kbd/keymaps # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) @@ -17,7 +16,6 @@ # LOCALE="en_US.UTF-8" HARDWARECLOCK="localtime" -USEDIRECTISA="no" TIMEZONE="Canada/Pacific" KEYMAP="us" CONSOLEFONT= 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 @@ -47,9 +47,6 @@ if [ "$HARDWARECLOCK" = "UTC" ]; then else HWCLOCK_PARAMS="$HWCLOCK_PARAMS --localtime" fi -if [ "$USEDIRECTISA" = "yes" -o "$USEDIRECTISA" = "YES" ]; then - HWCLOCK_PARAMS="$HWCLOCK_PARAMS --directisa" -fi # Set clock early to fix some bugs with filesystem checks # Clock is set again later to match rc.conf |