]> andersk Git - moira.git/blobdiff - gen/dhcp.sh
Command line printer manipulation client, and build goo.
[moira.git] / gen / dhcp.sh
index 4c2afe7b08738e5cd6a13460c067855bb55e3960..0cffe760f79097f0ed6ca3ae8dd078b9d9bd14d2 100755 (executable)
@@ -13,7 +13,7 @@ MR_MISSINGFILE=47836473
 MR_MKCRED=47836474
 MR_TARERR=47836476
 
-PATH=/usr/bin
+PATH=/usr/bin:/bin
 TARFILE=/var/tmp/dhcp.out
 BOOTGEN=/var/boot/dhcpd.conf.print
 BOOTHEAD=/var/boot/dhcpd.conf.head
@@ -39,6 +39,10 @@ done
 # Build full bootptab
 cat $BOOTHEAD $BOOTGEN $BOOTFOOT > $BOOTFILE
 
+# kill and rerun dhcpd
+/etc/init.d/dhcpd stop
+/etc/init.d/dhcpd start
+
 # cleanup
 test -f $TARFILE && rm -f $TARFILE
 test -f $0 && rm -f $0
This page took 0.045982 seconds and 4 git commands to generate.