[Pkg-sysvinit-devel] Bug#431752: invoke-rc.d should pass on quiet status to invoked init script
Tom Metro
tmetro+debianbugs at vl.com
Wed Jul 4 17:22:31 UTC 2007
Package: sysv-rc
Version: 2.86.ds1-38
The following patch causes the intent of the --quiet parameter to
invoke-rc.d to be passed on to the init script, providing the init
script uses /lib/init/vars.sh.
-Tom
diff -u -r1.1 invoke-rc.d
--- invoke-rc.d 2007/07/04 17:02:18 1.1
+++ invoke-rc.d 2007/07/04 17:15:51
@@ -423,7 +423,8 @@
printerror executing initscript action \"${saction}\"...
fi
- "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@" && exit 0
+
+ INIT_VERBOSE=${BEQUIET:+no} "${INITDPREFIX}${INITSCRIPTID}"
"${saction}" "$@" && exit 0
RC=$?
if test ! -z "${ACTION}" ; then
More information about the Pkg-sysvinit-devel
mailing list