summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-12 12:29:39 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-12 12:29:39 +0000
commit73714eed7d7d121d36c5a7f601f024719451d2f4 (patch)
tree71da021b9f3302ed8c553be08ad569cece17ad65 /perl-install/standalone
parent6939560e011ed8fa48bfd9595bb00ccbf5b32276 (diff)
downloaddrakx-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-xperl-install/standalone/drakgw6
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 ()