diff options
author | Bill Nottingham <notting@redhat.com> | 1999-03-16 07:40:00 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-03-16 07:40:00 +0000 |
commit | 94cdde2be5ea810be568f5601f1650b4a891dfa7 (patch) | |
tree | 2b52b44f36820022260fbc72e4a6b833945a22cc /rc.d | |
parent | a309d303aee5523519dfe71844eb6d6cc7396bea (diff) | |
download | initscripts-94cdde2be5ea810be568f5601f1650b4a891dfa7.tar initscripts-94cdde2be5ea810be568f5601f1650b4a891dfa7.tar.gz initscripts-94cdde2be5ea810be568f5601f1650b4a891dfa7.tar.bz2 initscripts-94cdde2be5ea810be568f5601f1650b4a891dfa7.tar.xz initscripts-94cdde2be5ea810be568f5601f1650b4a891dfa7.zip |
remove cruft
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/functions | 37 |
1 files 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 |