summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-08-25 16:28:54 +0000
committerdes <des@FreeBSD.org>2008-08-25 16:28:54 +0000
commit4da9acb2ce6f67daa60b24cdea64b9fa8838f9ed (patch)
tree47e972322935fe394857af4cf59295d058f25221 /etc
parent3ed53c265bd64cc2d70efe8dac51b3c01ebfde4b (diff)
downloadFreeBSD-src-4da9acb2ce6f67daa60b24cdea64b9fa8838f9ed.zip
FreeBSD-src-4da9acb2ce6f67daa60b24cdea64b9fa8838f9ed.tar.gz
Make obrien happy
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/Makefile2
-rwxr-xr-xetc/rc.d/kernel_symlink28
2 files changed, 1 insertions, 29 deletions
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index 57b99c9..7d01004 100755
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -18,7 +18,7 @@ FILES= DAEMON FILESYSTEMS LOGIN NETWORKING SERVERS \
ip6addrctl ip6fw ipfilter ipfs ipfw ipmon \
ipnat ipsec ipxrouted \
jail \
- kadmind kerberos kernel_symlink keyserv kldxref kpasswdd \
+ kadmind kerberos keyserv kldxref kpasswdd \
ldconfig local localpkg lockd lpd \
mixer motd mountcritlocal mountcritremote mountlate \
mdconfig mdconfig2 mountd moused mroute6d mrouted msgs \
diff --git a/etc/rc.d/kernel_symlink b/etc/rc.d/kernel_symlink
deleted file mode 100755
index ae9d9f1..0000000
--- a/etc/rc.d/kernel_symlink
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: kernel_symlink
-# REQUIRE: mountcritremote
-# KEYWORD: nojail
-
-. /etc/rc.subr
-
-name="kernel_symlink"
-rcvar=`set_rcvar`
-start_cmd="kernel_symlink_start"
-stop_cmd=":"
-
-kernel_symlink_start()
-{
- bootdir=$(dirname $(sysctl -n kern.bootfile))
- if [ "$bootdir" != /boot/kernel ] ; then
- if [ ! -e /boot/kernel -o -h /boot/kernel ] ; then
- ln -hfs ${bootdir} /boot/kernel
- fi
- fi
-}
-
-load_rc_config $name
-run_rc_command "$1"
OpenPOWER on IntegriCloud