diff options
author | Roman Kyrylych <roman@archlinux.org> | 2008-03-08 18:45:24 +0200 |
---|---|---|
committer | Roman Kyrylych <roman@archlinux.org> | 2008-03-08 19:28:20 +0200 |
commit | 6214a05ea023b8bc3014d8032af18b2404276d00 (patch) | |
tree | b530e48bf57afb9cab7d4aa2243eaae985fa67d6 | |
parent | 973c1b65ad9fb92c6a0e017a7b8bfb40c38b3bcd (diff) |
Create /dev/rtc before running hwclock (FS#9636)
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
-rwxr-xr-x | rc.sysinit | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -52,6 +52,12 @@ mount -n -t sysfs none /sys /sbin/modprobe usbcore >/dev/null 2>&1 grep -qw usbfs /proc/filesystems && mount -n -t usbfs none /proc/bus/usb +# enable rtc access +/bin/mkdir /dev/misc/bin/ +/bin/mknod /dev/misc/rtc0 c 252 0 +/bin/ln -s /dev/misc/rtc0 +/dev/rtc/sbin/modprobe rtc-cmos >/dev/null 2>&1 + HWCLOCK_PARAMS="--hctosys" if [ "$HARDWARECLOCK" = "UTC" ]; then HWCLOCK_PARAMS="$HWCLOCK_PARAMS --utc" |