[Pkg-nagios-changes] [pkg-nsca] 24/25: Redirect update-rc.d output to /dev/null.
Bas Couwenberg
sebastic at debian.org
Mon Dec 5 07:08:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pkg-nsca.
commit b5e779a24e5f3b7442c10ec56952adebcdf2fd90
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Dec 4 22:12:12 2016 +0100
Redirect update-rc.d output to /dev/null.
---
debian/changelog | 1 +
debian/nsca.postinst | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4ea01a8..5f88302 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ nsca (2.9.1-4) UNRELEASED; urgency=medium
* Add lsb-base to nsca dependencies.
* Bump Standards-Version to 3.9.8, changes:
Vcs-* fields, copyright-format 1.0.
+ * Redirect update-rc.d output to /dev/null.
-- Bas Couwenberg <sebastic at debian.org> Sun, 04 Dec 2016 00:04:22 +0100
diff --git a/debian/nsca.postinst b/debian/nsca.postinst
index 38ce06e..d6521b4 100644
--- a/debian/nsca.postinst
+++ b/debian/nsca.postinst
@@ -61,7 +61,7 @@ if [ -x "/etc/init.d/nsca" ]; then
if [ "$new_runnsca" != "$old_runnsca" ]; then
update-rc.d -f nsca remove >/dev/null 2>&1
if [ "$new_runnsca" = "false" ]; then
- update-rc.d nsca stop 16 2 3 4 5 .
+ update-rc.d nsca stop 16 2 3 4 5 . >/dev/null
else
update-rc.d nsca defaults >/dev/null
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nsca.git
More information about the Pkg-nagios-changes
mailing list