summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-01-21 16:03:52 +0000
committerFrancois Pons <fpons@mandriva.com>2003-01-21 16:03:52 +0000
commitcf9570d3b2a49028ead7aec8f54bbd6edefd8ad2 (patch)
tree229debb18e473435a1c6011e97dfdffa910b804c /perl-install/standalone
parent772880b9cc8832d1615a29af0acd453b5b0b90e3 (diff)
downloaddrakx-cf9570d3b2a49028ead7aec8f54bbd6edefd8ad2.tar
drakx-cf9570d3b2a49028ead7aec8f54bbd6edefd8ad2.tar.gz
drakx-cf9570d3b2a49028ead7aec8f54bbd6edefd8ad2.tar.bz2
drakx-cf9570d3b2a49028ead7aec8f54bbd6edefd8ad2.tar.xz
drakx-cf9570d3b2a49028ead7aec8f54bbd6edefd8ad2.zip
add daemons stop/start code.
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakpxe3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/drakpxe b/perl-install/standalone/drakpxe
index d1a85ba9e..25b68ab08 100755
--- a/perl-install/standalone/drakpxe
+++ b/perl-install/standalone/drakpxe
@@ -264,6 +264,9 @@ system "mkdir", "-p", "/var/www/html/$dir";
rmdir "/var/www/html/$dir";
symlink $dir, "/var/www/html/$dir";
+stop_daemons;
+start_daemons;
+
#- sub for reading/writing dhcpd.conf and pxelinux.cfg/default...
sub parse_dhcpd_conf {
my ($file, $netcnx, $netc, $intf) = @_;