diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2008-08-21 00:04:19 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2008-08-21 00:04:19 +0000 |
commit | 4bfcd9ff65f105a60ae2fc584e0a515545e8fa44 (patch) | |
tree | ebcc20276665d318d0e818d2d822a015b5f03dd8 | |
parent | 7c91915f63cc7b906b5c4ef2190d6db94ae21c46 (diff) | |
download | FreeBSD-src-4bfcd9ff65f105a60ae2fc584e0a515545e8fa44.zip FreeBSD-src-4bfcd9ff65f105a60ae2fc584e0a515545e8fa44.tar.gz |
Cope with the file rename by changing rc variables.
-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 |