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"
|
echo -e "--> Reset complete\n"
|
||||||
elif [ "$STATUS" == "1" ]; then
|
elif [ "$STATUS" == "1" ]; then
|
||||||
echo -e "\n----> Interface $ETH_IFACE has been plugged in."
|
echo -e "\n----> Interface $ETH_IFACE has been plugged in."
|
||||||
bash "$DIR/bridge/bridge-lan.sh"
|
# Clone the mac first so that when we give the client an IP they'll know we're ready to go
|
||||||
echo ""
|
|
||||||
bash "$DIR/bridge/clone-client-mac.sh"
|
bash "$DIR/bridge/clone-client-mac.sh"
|
||||||
|
echo ""
|
||||||
|
bash "$DIR/bridge/bridge-lan.sh"
|
||||||
echo -e "--> Bridge complete\n"
|
echo -e "--> Bridge complete\n"
|
||||||
else
|
else
|
||||||
echo -e "\n----> Interface $ETH_IFACE not found, doing nothing...\n"
|
echo -e "\n----> Interface $ETH_IFACE not found, doing nothing...\n"
|
||||||
|
|
Loading…
Reference in New Issue