diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-12 13:47:02 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-12 13:47:02 +0000 |
commit | 9d543bf812fff757297a1d5a995a85750b53b7f9 (patch) | |
tree | 48951df2d5b31fe37554b9512230c8ae6dd64c5a /perl-install/network/shorewall.pm | |
parent | aa25e85ac680f418c5aacf1a09c8e4b71ecf43f0 (diff) | |
download | drakx-backup-do-not-use-9d543bf812fff757297a1d5a995a85750b53b7f9.tar drakx-backup-do-not-use-9d543bf812fff757297a1d5a995a85750b53b7f9.tar.gz drakx-backup-do-not-use-9d543bf812fff757297a1d5a995a85750b53b7f9.tar.bz2 drakx-backup-do-not-use-9d543bf812fff757297a1d5a995a85750b53b7f9.tar.xz drakx-backup-do-not-use-9d543bf812fff757297a1d5a995a85750b53b7f9.zip |
run_program crazyness
Diffstat (limited to 'perl-install/network/shorewall.pm')
-rw-r--r-- | perl-install/network/shorewall.pm | 6 |
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; } } |