diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-22 11:08:22 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-22 11:08:22 +0000 |
commit | 48af3464adb0f4e1d7572dca0420f509e588b497 (patch) | |
tree | 57812c619c3fedc1b9ac72451edd09303450322f /emulators/rtc/files/rtc.sh | |
parent | Mark BROKEN: errors during install - probably a linux binary issue. (diff) |
Update for the latest current. (lminor() -> dev2unit())
Correct the startup script to unload rtc.ko module properly.
Notes
Notes:
svn path=/head/; revision=32996
Diffstat (limited to 'emulators/rtc/files/rtc.sh')
-rw-r--r-- | emulators/rtc/files/rtc.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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) |