fix pxe server
authorIan Kelling <ian@iankelling.org>
Sun, 25 Sep 2016 23:51:27 +0000 (16:51 -0700)
committerIan Kelling <ian@iankelling.org>
Mon, 6 Feb 2017 06:21:41 +0000 (22:21 -0800)
pxe-server

index 6b6a5765e2571c2550cc64b53ffbbed24bdba2ea..3223fb9033d4f461706cccd0e3e06a6d2480bba2 100755 (executable)
@@ -129,15 +129,13 @@ set-pxe() {
 if [[ $type == arch ]]; then arch-pxe-mount; fi"
 }
 
-if ! $wait && [[ $type != : ]]; then
-    set-pxe
+set-pxe
 
-    if [[ $type == fai ]]; then
-        if $redep; then
-            fai-redep
-        fi
-        faiserver-enable
+if [[ $type == fai ]]; then
+    if $redep; then
+        fai-redep
     fi
+    faiserver-enable
 fi
 
 if $wait; then