From ac5411d4a7bd615a6c4524ad5985c7baaad8ec13 Mon Sep 17 00:00:00 2001 From: mtm Date: Sun, 22 Jun 2008 16:23:39 +0000 Subject: Output information only if /etc/rc.local exists. --- etc/rc.d/local | 8 ++++---- 1 file 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 -- cgit v1.1