summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-17 16:55:18 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-17 16:55:18 +0000
commit830f0807b965f68025bfe36be23e7de1c952ecd0 (patch)
tree8748b4fb93e1f3b9a035653887a6376f1420667c /perl-install/standalone/drakgw
parent1a3507052acf38042f3100bbed38ac0f307e9354 (diff)
downloaddrakx-backup-do-not-use-830f0807b965f68025bfe36be23e7de1c952ecd0.tar
drakx-backup-do-not-use-830f0807b965f68025bfe36be23e7de1c952ecd0.tar.gz
drakx-backup-do-not-use-830f0807b965f68025bfe36be23e7de1c952ecd0.tar.bz2
drakx-backup-do-not-use-830f0807b965f68025bfe36be23e7de1c952ecd0.tar.xz
drakx-backup-do-not-use-830f0807b965f68025bfe36be23e7de1c952ecd0.zip
net_cnx scripts shouldn't be used anymore
Diffstat (limited to 'perl-install/standalone/drakgw')
-rwxr-xr-xperl-install/standalone/drakgw2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index 655bcf017..f76e2b2af 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -82,9 +82,7 @@ sub start_daemons () {
system("/etc/rc.d/init.d/named status >/dev/null 2>/dev/null") == 0 and sys("/etc/rc.d/init.d/named stop");
my $netscripts = '/etc/sysconfig/network-scripts';
- sys("$netscripts/net_cnx_down >/dev/null") if cat_("$netscripts/net_cnx_down") !~ /network/;
sys("/etc/rc.d/init.d/network restart >/dev/null");
- sys("$netscripts/net_cnx_up >/dev/null") if cat_("$netscripts/net_cnx_down") !~ /network/;
sys("/etc/rc.d/init.d/$_ start >/dev/null"), sys("/sbin/chkconfig --level 345 $_ on") foreach 'named', 'dhcpd', 'squid';
sys("/etc/rc.d/init.d/cups start >/dev/null") if $cups_used;