clone client mac before DHCP server
This commit is contained in:
parent
e851416d23
commit
5584914fde
|
@ -38,9 +38,10 @@ while true; do
|
|||
echo -e "--> Reset complete\n"
|
||||
elif [ "$STATUS" == "1" ]; then
|
||||
echo -e "\n----> Interface $ETH_IFACE has been plugged in."
|
||||
bash "$DIR/bridge/bridge-lan.sh"
|
||||
echo ""
|
||||
# Clone the mac first so that when we give the client an IP they'll know we're ready to go
|
||||
bash "$DIR/bridge/clone-client-mac.sh"
|
||||
echo ""
|
||||
bash "$DIR/bridge/bridge-lan.sh"
|
||||
echo -e "--> Bridge complete\n"
|
||||
else
|
||||
echo -e "\n----> Interface $ETH_IFACE not found, doing nothing...\n"
|
||||
|
|
Loading…
Reference in New Issue