diff options
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/kernel_symlink | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/kernel_symlink b/etc/rc.d/kernel_symlink index 4e6766e..ae9d9f1 100755 --- a/etc/rc.d/kernel_symlink +++ b/etc/rc.d/kernel_symlink @@ -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 |