From d0722bd6fb631ce6c678de32d09a10e2e5fa7c35 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 18 Jul 2009 02:58:04 -0300 Subject: Fix rtc device to match current rule in udev-141-4. Signed-off-by: Gerardo Exequiel Pozzi Signed-off-by: Allan McRae --- rc.sysinit | 5 ++--- 1 file 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" -- cgit v1.2.3-54-g00ecf