From: Ian Kelling Date: Sun, 25 Sep 2016 23:51:27 +0000 (-0700) Subject: fix pxe server X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=63372a0fd027649a0ef031efe5b7d22f396340d4;p=automated-distro-installer fix pxe server --- diff --git a/pxe-server b/pxe-server index 6b6a576..3223fb9 100755 --- a/pxe-server +++ b/pxe-server @@ -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