From 94cdde2be5ea810be568f5601f1650b4a891dfa7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 16 Mar 1999 07:40:00 +0000 Subject: remove cruft --- rc.d/init.d/functions | 37 ++++--------------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 07e3bd6f..47b5ba8a 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -260,39 +260,10 @@ action() { STRING=$1 echo -n "$STRING " shift -# if [ -z "$IN_INITLOG" ]; then - initlog $INITLOG_ARGS -c "$*" && success "$STRING" || failure "$STRING" - rc=$? - echo - return $rc -# fi -# else -# # This sucks. -# output=`$*` -# returncode=$? -# if [ -n "$output" ]; then -# cmdname=`basename $1` -# initlogcmds=`echo $output | sed -e "s/^/ -n $cmdname -s \"/" | sed -e "s/$/\"/"` -# echo "$initlogcmds" >&21 -# fi -# -# if [ $returncode -eq 0 ]; then -# [ "$BOOTUP" = "verbose" ] && { -# if [ -n "$output" ]; then -# echo -# echo $output -# else -# echo -# fi -# } -# success "$STRING" -# else -# echo $output -# failure "$STRING" -# fi -# [ "$BOOTUP" != "verbose" ] && echo -# return $returncode - # fi + initlog $INITLOG_ARGS -c "$*" && success "$STRING" || failure "$STRING" + rc=$? + echo + return $rc } # Confirm whether we really want to run this service -- cgit v1.2.1