diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-02-17 16:55:18 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-02-17 16:55:18 +0000 |
commit | 830f0807b965f68025bfe36be23e7de1c952ecd0 (patch) | |
tree | 8748b4fb93e1f3b9a035653887a6376f1420667c /perl-install/standalone | |
parent | 1a3507052acf38042f3100bbed38ac0f307e9354 (diff) | |
download | drakx-830f0807b965f68025bfe36be23e7de1c952ecd0.tar drakx-830f0807b965f68025bfe36be23e7de1c952ecd0.tar.gz drakx-830f0807b965f68025bfe36be23e7de1c952ecd0.tar.bz2 drakx-830f0807b965f68025bfe36be23e7de1c952ecd0.tar.xz drakx-830f0807b965f68025bfe36be23e7de1c952ecd0.zip |
net_cnx scripts shouldn't be used anymore
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakgw | 2 |
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; |