From 48af3464adb0f4e1d7572dca0420f509e588b497 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Fri, 22 Sep 2000 11:08:22 +0000 Subject: Update for the latest current. (lminor() -> dev2unit()) Correct the startup script to unload rtc.ko module properly. --- emulators/rtc/files/rtc.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'emulators/rtc/files/rtc.sh') diff --git a/emulators/rtc/files/rtc.sh b/emulators/rtc/files/rtc.sh index 5fa3843be1f4..8751f46c710d 100644 --- a/emulators/rtc/files/rtc.sh +++ b/emulators/rtc/files/rtc.sh @@ -1,12 +1,13 @@ #!/bin/sh -kmod=@@PREFIX@@/modules/rtc.ko +kmoddir=@@PREFIX@@/modules +kmod=rtc.ko case "$1" in start) - if [ -x $kmod ]; then + if [ -x $kmoddir/$kmod ]; then echo -n ' rtc' - kldload $kmod + kldload $kmoddir/$kmod fi ;; stop) -- cgit v1.2.3