summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2008-06-22 16:23:39 +0000
committermtm <mtm@FreeBSD.org>2008-06-22 16:23:39 +0000
commitac5411d4a7bd615a6c4524ad5985c7baaad8ec13 (patch)
tree912363ecc3eb710fbd94ae6ba5bdeb0297c556df /etc/rc.d
parent37724647ed7c20dedd45bb70d345e0cf59816df7 (diff)
downloadFreeBSD-src-ac5411d4a7bd615a6c4524ad5985c7baaad8ec13.zip
FreeBSD-src-ac5411d4a7bd615a6c4524ad5985c7baaad8ec13.tar.gz
Output information only if /etc/rc.local exists.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/local8
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
OpenPOWER on IntegriCloud