aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-06-17 16:22:25 +0000
committerBill Nottingham <notting@redhat.com>1999-06-17 16:22:25 +0000
commit19eaf7b3c62da6e6f6af5ce481ddf661bd906e00 (patch)
tree535060c7b3ebab8406e35a9d41cb11f8598b7ef7 /rc.d/init.d
parent2b0c2e16b8a030d90b41fc91a587206ba68dbe8a (diff)
downloadinitscripts-19eaf7b3c62da6e6f6af5ce481ddf661bd906e00.tar
initscripts-19eaf7b3c62da6e6f6af5ce481ddf661bd906e00.tar.gz
initscripts-19eaf7b3c62da6e6f6af5ce481ddf661bd906e00.tar.bz2
initscripts-19eaf7b3c62da6e6f6af5ce481ddf661bd906e00.tar.xz
initscripts-19eaf7b3c62da6e6f6af5ce481ddf661bd906e00.zip
use INITLOG_ARGS everywhere except fsck, fix typo
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/functions12
1 files changed, 6 insertions, 6 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 2426a722..d7702197 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -240,9 +240,9 @@ echo_passed() {
# Log that something succeeded
success() {
if [ -z "$IN_INITLOG" ]; then
- initlog -n $0 -s "$1" -e 1
+ initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
else
- echo "-n $0 -s \"$1\" -e 1" >&21
+ echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21
fi
[ "$BOOTUP" != "verbose" ] && echo_success
return 0
@@ -252,9 +252,9 @@ success() {
failure() {
rc=$?
if [ -z "$IN_INITLOG" ]; then
- initlog -n $0 -s "$1" -e 2
+ initlog $INITLOG_ARGS -n $0 -s "$1" -e 2
else
- echo "-n $0 -s \"$1\" -e 2" >&21
+ echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 2" >&21
fi
[ "$BOOTUP" != "verbose" ] && echo_failure
return $rc
@@ -264,9 +264,9 @@ failure() {
passed() {
rc=$?
if [ -z "$IN_INITLOG" ]; then
- initlog -n $0 -s "$1" -e 1
+ initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
else
- echo "-n $0 -s \"$1\" -e 1" >&21
+ echo "$INITLOG_ARGS -n $0 -s \"$1\" -e 1" >&21
fi
[ "$BOOTUP" != "verbose" ] && echo_passed
return $rc