|
|
@ -1,6 +1,11 @@
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
ffka_querfunk_mgmt=2a03:2260:a:a:ea94:f6ff:fea1:98f6
|
|
|
|
ffka_querfunk_mgmt=2a03:2260:a:a:ea94:f6ff:fea1:98f6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ! ping6 -c1 $ffka_querfunk_mgmt &>/dev/null; then
|
|
|
|
|
|
|
|
echo 'ffka-querfunk is offline'
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# stream setup
|
|
|
|
# stream setup
|
|
|
|
ssh root@$ffka_querfunk_mgmt "sh -c 'opkg update && opkg install socat'"
|
|
|
|
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/
|
|
|
|