Update payload.sh
parent
9685d73c49
commit
2cbab31893
|
@ -20,6 +20,8 @@ function run() {
|
|||
|
||||
# Set NETMODE to DHCP_CLIENT for Shark Jack v1.1.0+
|
||||
NETMODE DHCP_CLIENT
|
||||
# Wait for an IP address to be obtained
|
||||
while ! ifconfig eth0 | grep "inet addr"; do sleep 1; done
|
||||
|
||||
# Find IP address and subnet
|
||||
for i in {1..30}; do
|
||||
|
|
Loading…
Reference in New Issue