Package: procps
Version: 1:3.2.7-9
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch
This patch causes the procps init script to pay attention to the init
script environment variable "VERBOSE" and act accordingly.
Thanks,
-Kees
--
Kees Cook @outflux.net
diff -u procps-3.2.7/debian/init procps-3.2.7/debian/init
--- procps-3.2.7/debian/init
+++ procps-3.2.7/debian/init
@@ -26,10 +26,14 @@
case "$1" in
start|restart|force-reload)
+ quiet="-q"
+ if [ "$VERBOSE" = "yes" ]; then
+ quiet=""
+ fi
for file in /etc/sysctl.conf /etc/sysctl.d/*.conf ; do
if [ -r "$file" ] ; then
log_action_begin_msg "Setting kernel variables ($file)"
- sysctl -q -p "$file"
+ sysctl $quiet -p "$file"
log_action_end_msg $?
fi
done