diff options
author | mtm <mtm@FreeBSD.org> | 2008-06-22 16:23:39 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-06-22 16:23:39 +0000 |
commit | ac5411d4a7bd615a6c4524ad5985c7baaad8ec13 (patch) | |
tree | 912363ecc3eb710fbd94ae6ba5bdeb0297c556df /etc/rc.d | |
parent | 37724647ed7c20dedd45bb70d345e0cf59816df7 (diff) | |
download | FreeBSD-src-ac5411d4a7bd615a6c4524ad5985c7baaad8ec13.zip FreeBSD-src-ac5411d4a7bd615a6c4524ad5985c7baaad8ec13.tar.gz |
Output information only if /etc/rc.local exists.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/local | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/local b/etc/rc.d/local index 1901cb4..61a0852 100755 --- a/etc/rc.d/local +++ b/etc/rc.d/local @@ -16,20 +16,20 @@ stop_cmd="local_stop" local_start() { - echo -n 'Starting local daemons:' if [ -f /etc/rc.local ]; then + echo -n 'Starting local daemons:' . /etc/rc.local + echo '.' fi - echo '.' } local_stop() { - echo -n 'Shutting down local daemons:' if [ -f /etc/rc.shutdown.local ]; then + echo -n 'Shutting down local daemons:' . /etc/rc.shutdown.local + echo '.' fi - echo '.' } load_rc_config $name |