another tar acl fix
[automated-distro-installer] / pxe-server
index 4e4aaa8262f0d80f229fe95aada34d025b15d109..bac22c115658917f8c402849e014bee395111cf1 100755 (executable)
@@ -139,12 +139,12 @@ $([[ $type == arch ]] && echo arch-pxe-mount)"
 if $set; then
     set-pxe
     if [[ $type == fai ]]; then
-        myfai-chboot $host
+        myfai-chboot $host
         if $redep; then
-            fai-redep
+            fai-redep
         fi
     else
-        myfai-chboot
+        myfai-chboot
     fi
 fi
 
@@ -155,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,