2020-08-01 10:37:51 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ $# -ne 2 ]; then
|
|
|
|
echo "$0 viirb-id"
|
|
|
|
echo " viirb-id: number in decimal format"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
id=$1; shift
|
|
|
|
|
|
|
|
./viirb-1-connect-flash-latest-openwrt.sh eth0 192.168.61.1
|
2020-08-01 10:38:27 +00:00
|
|
|
# reboot may take longer
|
|
|
|
sleep 60
|
2020-08-01 10:37:51 +00:00
|
|
|
./viirb-2-configure-fully-after-upgrade.sh
|