summaryrefslogtreecommitdiffstats
path: root/perl-install/network/shorewall.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-12 13:47:02 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-12 13:47:02 +0000
commit9d543bf812fff757297a1d5a995a85750b53b7f9 (patch)
tree48951df2d5b31fe37554b9512230c8ae6dd64c5a /perl-install/network/shorewall.pm
parentaa25e85ac680f418c5aacf1a09c8e4b71ecf43f0 (diff)
downloaddrakx-9d543bf812fff757297a1d5a995a85750b53b7f9.tar
drakx-9d543bf812fff757297a1d5a995a85750b53b7f9.tar.gz
drakx-9d543bf812fff757297a1d5a995a85750b53b7f9.tar.bz2
drakx-9d543bf812fff757297a1d5a995a85750b53b7f9.tar.xz
drakx-9d543bf812fff757297a1d5a995a85750b53b7f9.zip
run_program crazyness
Diffstat (limited to 'perl-install/network/shorewall.pm')
-rw-r--r--perl-install/network/shorewall.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm
index 64800bf1a..2cfb25856 100644
--- a/perl-install/network/shorewall.pm
+++ b/perl-install/network/shorewall.pm
@@ -124,11 +124,11 @@ sub write {
if ($conf->{disabled}) {
run_program::rooted($::prefix, 'chkconfig', '--del', 'shorewall');
- run_program::run('service', 'shorewall', 'stop') if $::isStandalone;
- run_program::run('service', 'shorewall', 'clear') if $::isStandalone;
+ run_program::run('service', '>', '/dev/null', 'shorewall', 'stop') if $::isStandalone;
+ run_program::run('service', '>', '/dev/null', 'shorewall', 'clear') if $::isStandalone;
} else {
run_program::rooted($::prefix, 'chkconfig', '--add', 'shorewall');
- run_program::run('service', 'shorewall', 'restart') if $::isStandalone;
+ run_program::run('service', '>', '/dev/null', 'shorewall', 'restart') if $::isStandalone;
}
}