summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/sysctl
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2004-01-17 10:59:43 +0000
committermtm <mtm@FreeBSD.org>2004-01-17 10:59:43 +0000
commit5da6236d0167eab4e233aaf815198eb7d1fe5898 (patch)
tree6439610462f4b5b56816a33d4ba3c60ab1fe1868 /etc/rc.d/sysctl
parent7948e91c15e85d387bf8070d18fd9257a7d982be (diff)
downloadFreeBSD-src-5da6236d0167eab4e233aaf815198eb7d1fe5898.zip
FreeBSD-src-5da6236d0167eab4e233aaf815198eb7d1fe5898.tar.gz
Luke Mewburn has indicated that they (NetBSD) are not interested
in keeping the scripts under rc.d in sync with us. So, remove NetBSD specific stuff (which made our scripts more complicated than necessary). The NetBSD ident string will be left intact, both for history and also incase we wish to pull in future versions.
Diffstat (limited to 'etc/rc.d/sysctl')
-rw-r--r--etc/rc.d/sysctl24
1 files changed, 4 insertions, 20 deletions
diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl
index 6a70577..6ecade3 100644
--- a/etc/rc.d/sysctl
+++ b/etc/rc.d/sysctl
@@ -13,18 +13,10 @@
name="sysctl"
stop_cmd=":"
-
-case ${OSTYPE} in
-FreeBSD)
- start_cmd="FreeBSD_start"
- extra_commands="reload lastload"
- reload_cmd="FreeBSD_start"
- lastload_cmd="FreeBSD_start last"
- ;;
-NetBSD)
- start_cmd="NetBSD_start"
- ;;
-esac
+start_cmd="FreeBSD_start"
+extra_commands="reload lastload"
+reload_cmd="FreeBSD_start"
+lastload_cmd="FreeBSD_start last"
FreeBSD_start()
{
@@ -58,13 +50,5 @@ FreeBSD_start()
fi
}
-NetBSD_start()
-{
- if [ -r /etc/sysctl.conf ]; then
- echo "Setting sysctl variables:"
- ${SYSCTL} -f /etc/sysctl.conf
- fi
-}
-
load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud