fixed flag issue

This commit is contained in:
Jayne Passmore 2025-04-02 18:38:05 -05:00
parent 08c7853b61
commit 38e3ce79f2

View file

@ -60,6 +60,7 @@ echo ""
read -p "Is this correct (y/n)? " v;if [ "$v" != "y" ];then "Exiting, restart to reenter info"; exit;fi
dhcp_opts+=" -m $mac"
if [ -n $subnet ]; then dhcp_opts=" -s $subnet";fi
if [ -n $ip ]; then dhcp_opts+=" -i $ip";fi
dhcp_opts+=" -m $mac"