aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-09-17 10:19:04 -0700
committerBill Nottingham <notting@redhat.com>2008-09-17 10:19:04 -0700
commit8be84baa479dbbc6e8ddddf1d054433b2cdbaab7 (patch)
tree97702cc03756827da361e3e291637d782c973904 /rc.d/init.d/functions
parente99add4a34459654609147c8989d41cb450d0117 (diff)
downloadinitscripts-8be84baa479dbbc6e8ddddf1d054433b2cdbaab7.tar
initscripts-8be84baa479dbbc6e8ddddf1d054433b2cdbaab7.tar.gz
initscripts-8be84baa479dbbc6e8ddddf1d054433b2cdbaab7.tar.bz2
initscripts-8be84baa479dbbc6e8ddddf1d054433b2cdbaab7.tar.xz
initscripts-8be84baa479dbbc6e8ddddf1d054433b2cdbaab7.zip
Remove dead code.
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions18
1 files changed, 0 insertions, 18 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 058599f0..a682f5d8 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -50,12 +50,6 @@ if [ -z "${BOOTUP:-}" ]; then
fi
fi
-if [ "${BOOTUP:-}" != "verbose" ]; then
- INITLOG_ARGS="-q"
-else
- INITLOG_ARGS=
-fi
-
# Interpret escape sequences in an fstab entry
fstab_decode_str() {
fstab-decode echo "$1"
@@ -467,9 +461,6 @@ update_boot_stage() {
# Log that something succeeded
success() {
- #if [ -z "${IN_INITLOG:-}" ]; then
- # initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
- #fi
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_success
return 0
}
@@ -477,9 +468,6 @@ success() {
# Log that something failed
failure() {
local rc=$?
- #if [ -z "${IN_INITLOG:-}" ]; then
- # initlog $INITLOG_ARGS -n $0 -s "$1" -e 2
- #fi
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_failure
[ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
return $rc
@@ -488,9 +476,6 @@ failure() {
# Log that something passed, but may have had errors. Useful for fsck
passed() {
local rc=$?
- #if [ -z "${IN_INITLOG:-}" ]; then
- # initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
- #fi
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_passed
return $rc
}
@@ -498,9 +483,6 @@ passed() {
# Log a warning
warning() {
local rc=$?
- #if [ -z "${IN_INITLOG:-}" ]; then
- # initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
- #fi
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_warning
return $rc
}