From f27ca6ea2f076ba100c97e139e58caaf74103dab Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Sun, 22 Jun 2008 16:23:39 +0000 Subject: [PATCH] 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 1901cb4ccc72..61a08523a46e 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