From d1f86dbf7819a782df812dde8282a03ab1f82faf Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 15 Aug 2009 23:55:24 -0500 Subject: 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 --- rc.conf | 2 -- rc.shutdown | 3 --- rc.sysinit | 3 --- 3 files changed, 8 deletions(-) diff --git a/rc.conf b/rc.conf index 7177902..b9495f8 100644 --- a/rc.conf +++ b/rc.conf @@ -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 diff --git a/rc.sysinit b/rc.sysinit index 3a8fab2..322b512 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -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 -- cgit v1.2.3