diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-12 12:29:39 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-12 12:29:39 +0000 |
commit | 73714eed7d7d121d36c5a7f601f024719451d2f4 (patch) | |
tree | 71da021b9f3302ed8c553be08ad569cece17ad65 /perl-install/standalone | |
parent | 6939560e011ed8fa48bfd9595bb00ccbf5b32276 (diff) | |
download | drakx-backup-do-not-use-73714eed7d7d121d36c5a7f601f024719451d2f4.tar drakx-backup-do-not-use-73714eed7d7d121d36c5a7f601f024719451d2f4.tar.gz drakx-backup-do-not-use-73714eed7d7d121d36c5a7f601f024719451d2f4.tar.bz2 drakx-backup-do-not-use-73714eed7d7d121d36c5a7f601f024719451d2f4.tar.xz drakx-backup-do-not-use-73714eed7d7d121d36c5a7f601f024719451d2f4.zip |
meumeuh
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakgw | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index b857eaedd..6a62db069 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -82,13 +82,13 @@ sub start_daemons () my $netscripts = '/etc/sysconfig/network-scripts'; sys("$netscripts/net_cnx_down >/dev/null"); - sys("/etc/rc.d/init.d/network restart"); + sys("/etc/rc.d/init.d/network restart >/dev/null"); sys("$netscripts/net_cnx_up >/dev/null"); sys("/etc/init.d/shorewall restart >/dev/null"); - sys("/etc/rc.d/init.d/$_ start"), sys("/sbin/chkconfig --level 345 $_ on") foreach 'named', 'dhcpd', 'shorewall'; - sys("/etc/rc.d/init.d/cups start") if $cups_used; + sys("/etc/rc.d/init.d/$_ start >/dev/null"), sys("/sbin/chkconfig --level 345 $_ on") foreach 'named', 'dhcpd', 'shorewall'; + sys("/etc/rc.d/init.d/cups start >/dev/null") if $cups_used; } sub stop_daemons () |