small fix and config change
[automated-distro-installer] / pxe-server
index 6adbf19214286141b7622392f3ceff35226a1f5d..66bc4ff4129da671c713082138ae091c40834e81 100755 (executable)
@@ -143,10 +143,8 @@ if $set; then
         if $redep; then
             fai-redep
         fi
-        faiserver-enable
     else
         myfai-chboot
-        faiserver-disable
     fi
 fi
 
@@ -157,6 +155,7 @@ if $wait; then
     # bleh.
     echo "waiting for $acks dhcp acks then disabling pxe"
     ack-wait $acks
+    type=
     set-pxe
 
     # previously tried waiting for one more ack then disabling faiserver,