Merge pull request #7 from yakamoz147/master

fixed ipinfo script
pull/9/head
Darren Kitchen 2019-11-07 15:25:18 -08:00 committed by GitHub
commit 4d5bba3ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,9 @@ mkdir -p $LOOT_DIR
LOG_FILE="ipinfo_$(find $LOOT_DIR -type f | wc -l).log"
LOG="$LOOT_DIR/$LOG_FILE"
# Ask for IP address
NETMODE DHCP_CLIENT
# Wait until Shark Jack has an IP address
while ! ifconfig eth0 | grep "inet addr"; do sleep 1; done