persist=false
args=()
+redep=false
while [[ $1 ]]; do
case $1 in
--) shift; break ;;
-h|--help) usage ;;
+ -r) redep=true; shift ;;
-p) persist=true; shift ;;
*) args+=("$1"); shift ;;
esac
if [[ $type == arch ]]; then arch-pxe-mount; fi"
+if $redep && [[ $type == fai ]]; then
+ fai-redep
+fi
if ! $persist; then
+ echo "waiting for 2 dhcp acks then disabling pxe"
if [[ $host ]]; then
host_regex=" $host"
fi