Added delay to ethernet dhcp due to the interface not being ready

This commit is contained in:
Giulio 2020-09-23 10:43:53 +02:00
parent 310b9eaba5
commit 8b7aa17303
2 changed files with 1 additions and 3 deletions

View File

@ -36,9 +36,6 @@ echo "[+] Writing flags"
sed -i "s/##FLAG1##/$flag1/g" target/overlay/var/www/html/includes/config.php sed -i "s/##FLAG1##/$flag1/g" target/overlay/var/www/html/includes/config.php
echo $flag2 > target/overlay/flag echo $flag2 > target/overlay/flag
chmod 444 target/overlay/flag chmod 444 target/overlay/flag
mkdir target/overlay/root
chmod 700 target/overlay/root
echo $flag3 > target/overlay/root/flag
echo "[+] Building the keygen" echo "[+] Building the keygen"
mkdir -p target/overlay/usr/sbin mkdir -p target/overlay/usr/sbin

View File

@ -2,6 +2,7 @@ auto lo
iface lo inet loopback iface lo inet loopback
auto eth0 auto eth0
pre-up sleep 10
iface eth0 inet dhcp iface eth0 inet dhcp
auto ap0 auto ap0