summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-07-18 02:58:04 -0300
committerAllan McRae <allan@archlinux.org>2009-07-20 12:53:50 +1000
commitd0722bd6fb631ce6c678de32d09a10e2e5fa7c35 (patch)
treed901cb11807e75c20771cecbbfe4fce19800ec38
parent28d34292a9a8a03ea78a909ccb1d8d50ee21d0bb (diff)
Fix rtc device to match current rule in udev-141-4.2009.07-3
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
-rwxr-xr-xrc.sysinit5
1 files changed, 2 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 7356b77..777ffe9 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -37,9 +37,8 @@ fi
/sbin/modprobe rtc-cmos >/dev/null 2>&1
RTC_MAJOR=$(/bin/grep -w rtc /proc/devices 2>/dev/null); RTC_MAJOR="${RTC_MAJOR%% *}"
if [ -n "$RTC_MAJOR" ]; then
- /bin/mkdir /dev/misc/
- /bin/mknod /dev/misc/rtc0 c $RTC_MAJOR 0
- /bin/ln -s /dev/misc/rtc0 /dev/rtc
+ /bin/mknod /dev/rtc0 c $RTC_MAJOR 0
+ /bin/ln -s /dev/rtc0 /dev/rtc
fi
HWCLOCK_PARAMS="--hctosys"