2
0
Fork 0
This repository has been archived on 2019-12-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ffka-querfunk/install

17 lines
485 B
Bash
Executable file

#!/bin/sh
ffka_querfunk_mgmt=2a03:2260:a:a:ea94:f6ff:fea1:98f6
# 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/
ssh root@$ffka_querfunk_mgmt "/etc/init.d/zz_custom enable"
# http://querfunk.ffka
scp assets/index.html root@[$ffka_querfunk_mgmt]:/lib/gluon/status-page/www/
ssh root@$ffka_querfunk_mgmt "reboot"
sleep 30
ffka_querfunk=2a03:2260:a:a::1:66
ping6 -c 10 $ffka_querfunk