summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakgw
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-03-13 16:23:29 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-03-13 16:23:29 +0000
commit3b8c0f93707436f84149d17731d9b70aa486dedc (patch)
treedfd7583c18ba753826376744785204d1a7305e46 /perl-install/standalone/drakgw
parentcfdb08690455c078ad71e3ab35cad2b40b60fe77 (diff)
downloaddrakx-backup-do-not-use-3b8c0f93707436f84149d17731d9b70aa486dedc.tar
drakx-backup-do-not-use-3b8c0f93707436f84149d17731d9b70aa486dedc.tar.gz
drakx-backup-do-not-use-3b8c0f93707436f84149d17731d9b70aa486dedc.tar.bz2
drakx-backup-do-not-use-3b8c0f93707436f84149d17731d9b70aa486dedc.tar.xz
drakx-backup-do-not-use-3b8c0f93707436f84149d17731d9b70aa486dedc.zip
fix for bind
Diffstat (limited to 'perl-install/standalone/drakgw')
-rwxr-xr-xperl-install/standalone/drakgw6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index e4a862977..386676c40 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -68,7 +68,8 @@ sub start_daemons()
sys("/etc/rc.d/init.d/cups stop");
}
}
- grep(/is running/, `/etc/rc.d/init.d/$_ status 2> /dev/null`) and sys("/etc/rc.d/init.d/$_ stop") foreach 'named', 'dhcpd';
+ grep(/is running/, `/etc/rc.d/init.d/dhcpd status 2> /dev/null`) and sys("/etc/rc.d/init.d/dhcpd stop");
+ grep(/connection refused/, `/etc/rc.d/init.d/named status 2> /dev/null`) or sys("/etc/rc.d/init.d/named stop");
sys("/etc/rc.d/init.d/network restart");
sys("sh $rc_firewall_generic");
@@ -519,6 +520,9 @@ sub quit_global {
#-------------------------------------------------
#- $Log$
+#- Revision 1.27 2001/03/13 16:23:29 gc
+#- fix for bind
+#-
#- Revision 1.26 2001/03/13 15:31:05 gc
#- - fix destructive parts of pixelization
#- - fix some own bugs