From 75ce806e1e7e13e2202ef4d60585f15a64281eb7 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Tue, 1 Sep 2020 09:04:32 +0000 Subject: 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 --- emulators/rtc/files/rtc.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 emulators/rtc/files/rtc.sh (limited to 'emulators/rtc/files/rtc.sh') 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 -- cgit v1.2.3