diff options
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/Makefile | 2 | ||||
-rwxr-xr-x | etc/rc.d/kernel_symlink | 28 |
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" |