summaryrefslogtreecommitdiff
path: root/emulators/rtc/files/rtc.sh
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2020-09-01 09:04:32 +0000
committerKurt Jaeger <pi@FreeBSD.org>2020-09-01 09:04:32 +0000
commit75ce806e1e7e13e2202ef4d60585f15a64281eb7 (patch)
tree000f44f3510a926f10db32cb463c7a5a1f76e201 /emulators/rtc/files/rtc.sh
parentUnbreak the build with -fno-common (Clang 11, GCC 10). (diff)
emulators/rtc: update 2004.02.24.1 -> 2020.07.07.1
- submitter becomes maintainer - Install kmod into /boot/modules instead of /usr/local - Cleared out bits dating back to pre-devfs - Removed #ifdef bits related to FreeBSD <= 4.X and FreeBSD <= 8.X - Olegs fixes for FreeBSD 11.X and FreeBSD 12.X+ - Removed "USES= linux uidfix" - whilst this provides functionality that is "often" used by linux programs, that's not necessarily the case, and this module doesn't require any linux subsystem or kernel MOD to operate. - Removed oldstyle rtc.sh - include pkg-message showing how to load from the rc.conf "kld_list" mechanism. - Fixed typo in "test.c" -> /dec -> /dev - Fixed path to "rtc.h" in "test.c" PR: 233057 Submitted by: Jamie Landeg-Jones <jamie@catflap.org>
Notes
Notes: svn path=/head/; revision=547249
Diffstat (limited to 'emulators/rtc/files/rtc.sh')
-rw-r--r--emulators/rtc/files/rtc.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/emulators/rtc/files/rtc.sh b/emulators/rtc/files/rtc.sh
deleted file mode 100644
index ac92bc1b1974..000000000000
--- a/emulators/rtc/files/rtc.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-kmoddir=@@PREFIX@@/modules
-kmod=rtc.ko
-
-case "$1" in
-start)
- if [ -x $kmoddir/$kmod ]; then
- echo -n ' rtc'
- /sbin/kldload $kmoddir/$kmod
- fi
- ;;
-stop)
- /sbin/kldunload $kmod && echo -n ' rtc'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac