Update payload.sh

pull/9/head
Darren Kitchen 2019-11-08 17:48:25 -08:00 committed by GitHub
parent 9685d73c49
commit 2cbab31893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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