aboutsummaryrefslogtreecommitdiffstats
path: root/add-service
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2012-01-19 15:13:00 +0000
committerDexter Morgan <dmorgan@mageia.org>2012-01-19 15:13:00 +0000
commitfce915361aecd3be1fe7b9d21c7ad5115637a544 (patch)
tree489456ccd8bb878da1f7bc089f5aa96fa8001052 /add-service
parenta0fcbed0d04a937f5bd9a24017637479e0fa6a5f (diff)
downloadrpm-helper-fce915361aecd3be1fe7b9d21c7ad5115637a544.tar
rpm-helper-fce915361aecd3be1fe7b9d21c7ad5115637a544.tar.gz
rpm-helper-fce915361aecd3be1fe7b9d21c7ad5115637a544.tar.bz2
rpm-helper-fce915361aecd3be1fe7b9d21c7ad5115637a544.tar.xz
rpm-helper-fce915361aecd3be1fe7b9d21c7ad5115637a544.zip
Silent enable/disable services
Diffstat (limited to 'add-service')
-rwxr-xr-xadd-service2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-service b/add-service
index 5747aee..fb17a43 100755
--- a/add-service
+++ b/add-service
@@ -110,7 +110,7 @@ add_service() {
# Actually do enable/disable foo
if [ -n "$units_to_enable" ]; then
- /bin/systemctl --quiet enable $units_to_enable
+ /bin/systemctl --quiet enable $units_to_enable >/dev/null
fi
if [ -n "$srv" -a -f /etc/rc.d/init.d/$srv ]; then
/sbin/chkconfig --add $srv