summaryrefslogtreecommitdiff
path: root/emulators/rtc/files/rtc.sh
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-04-03 15:28:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-04-03 15:28:30 +0000
commit3cf900afec2aff896e54b02214e9c9d023d0cd20 (patch)
tree25af9c88375549ba5c87e1b652d23c1871e35a73 /emulators/rtc/files/rtc.sh
parentUpgrade to 4.16. (diff)
This is rtc, a kernel module for /dev/rtc device support.
Some apps such as VMware for Linux would be happy with it. The code was originally written by Vladimir N. Silyaev. Note: It _includes_ Linux ioctl support, but basically it's FreeBSD native stuff. I'm importing this into emulators category for convevience' sake. Check it out.
Notes
Notes: svn path=/head/; revision=27306
Diffstat (limited to 'emulators/rtc/files/rtc.sh')
-rw-r--r--emulators/rtc/files/rtc.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/emulators/rtc/files/rtc.sh b/emulators/rtc/files/rtc.sh
new file mode 100644
index 000000000000..a39569c74ce3
--- /dev/null
+++ b/emulators/rtc/files/rtc.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+kmod=@@PREFIX@@/modules/rtc.ko
+
+if [ -x $kmod ]; then
+ echo -n ' rtc'
+ kldload $kmod
+fi