summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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