Cope with the file rename by changing rc variables.
This commit is contained in:
parent
9d5a92ee43
commit
20c78c6e69
@ -3,18 +3,18 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: kernel
|
||||
# PROVIDE: kernel_symlink
|
||||
# REQUIRE: mountcritremote
|
||||
# KEYWORD: nojail
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="kernel"
|
||||
name="kernel_symlink"
|
||||
rcvar=`set_rcvar`
|
||||
start_cmd="kernel_start"
|
||||
start_cmd="kernel_symlink_start"
|
||||
stop_cmd=":"
|
||||
|
||||
kernel_start()
|
||||
kernel_symlink_start()
|
||||
{
|
||||
bootdir=$(dirname $(sysctl -n kern.bootfile))
|
||||
if [ "$bootdir" != /boot/kernel ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user