|
|
@ -6,22 +6,23 @@ if ! ping6 -c1 $ffka_querfunk_mgmt &>/dev/null; then
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# stream setup
|
|
|
|
# stream setup
|
|
|
|
ssh root@$ffka_querfunk_mgmt "sh -c 'opkg update && opkg install socat'"
|
|
|
|
|
|
|
|
scp assets/zz_custom root@[$ffka_querfunk_mgmt]:/etc/init.d/
|
|
|
|
scp assets/zz_custom root@[$ffka_querfunk_mgmt]:/etc/init.d/
|
|
|
|
ssh root@$ffka_querfunk_mgmt "/etc/init.d/zz_custom enable"
|
|
|
|
ssh root@$ffka_querfunk_mgmt "/etc/init.d/zz_custom enable"
|
|
|
|
|
|
|
|
|
|
|
|
# http://querfunk.ffka
|
|
|
|
# http://querfunk.ffka
|
|
|
|
scp assets/index.html root@[$ffka_querfunk_mgmt]:/lib/gluon/status-page/www/
|
|
|
|
echo FIXME scp assets/index.html root@[$ffka_querfunk_mgmt]:/lib/gluon/status-page/www/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Tell ffka-querfunk to reboot"
|
|
|
|
ssh root@$ffka_querfunk_mgmt "reboot"
|
|
|
|
ssh root@$ffka_querfunk_mgmt "reboot"
|
|
|
|
|
|
|
|
sleep 3
|
|
|
|
|
|
|
|
|
|
|
|
echo -n "Waiting for ffka-querfunk to come online after rebooting"
|
|
|
|
echo -n "Waiting for ffka-querfunk to come online after rebooting"
|
|
|
|
sleep 3
|
|
|
|
|
|
|
|
ffka_querfunk=2a03:2260:a:b::1:66
|
|
|
|
ffka_querfunk=2a03:2260:a:b::1:66
|
|
|
|
while ! ping6 -c1 $ffka_querfunk &>/dev/null; do
|
|
|
|
while ! ping6 -c1 $ffka_querfunk &>/dev/null; do
|
|
|
|
echo -n "."
|
|
|
|
echo -n "."
|
|
|
|
sleep 1
|
|
|
|
sleep 1
|
|
|
|
done
|
|
|
|
done
|
|
|
|
echo
|
|
|
|
echo ok
|