http://querfunk.ffka verbessern
This commit is contained in:
parent
fb284e004c
commit
2a6431ecd8
2 changed files with 16 additions and 0 deletions
11
assets/index.html
Normal file
11
assets/index.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>querfunk.ffka</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://querfunk.ffka:8000/qfhi">querfunk stream</a></li>
|
||||||
|
<li><a href="/cgi-bin/status">ffka-querfunk status page</a></li>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
5
install
5
install
|
@ -1,10 +1,15 @@
|
||||||
#!/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
|
||||||
|
|
||||||
|
# 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/
|
||||||
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
|
||||||
|
scp assets/index.html root@[$ffka_querfunk_mgmt]:/lib/gluon/status-page/www/
|
||||||
|
|
||||||
|
|
||||||
ssh root@$ffka_querfunk_mgmt "reboot"
|
ssh root@$ffka_querfunk_mgmt "reboot"
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
|
|
Reference in a new issue