querfunk
/
ffka-querfunk
Archived
2
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

13 lines
368 B
Plaintext

#!/bin/sh
ffka_querfunk_mgmt=2a03:2260:a:a:ea94:f6ff:fea1:98f6
ssh root@$ffka_querfunk_mgmt "sh -c 'opkg update && opkg install socat'"
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 "reboot"
sleep 30
ffka_querfunk=2a03:2260:a:a::1:66
ping6 -c 10 $ffka_querfunk