summaryrefslogtreecommitdiff
path: root/contrib/freetz/make/pingtunnel-ng/files/root/usr/lib/cgi-bin/pingtunnel-ng.cgi
blob: ae6b9e4040fd553ad434da3b3967783bae7272c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

. /usr/lib/libmodcgi.sh

sec_begin '$(lang de:"Starttyp" en:"Start type")'
cgi_print_radiogroup_service_starttype "enabled" "$PINGTUNNELNG_ENABLED" "" "" 0
sec_end

sec_begin '$(lang de:"Server" en:"Server")'

cgi_print_password_p "password" "$PINGTUNNELNG_PASSWORD" 20/32 \
  "$(lang de:"Tunnel-Passwort" en:"Tunnel password"): "

cgi_print_textline_p "extra" "$PINGTUNNELNG_EXTRA" 40/255 \
  "$(lang de:"Erweiterte Optionen" en:"Extra options"): "

cgi_print_textline_p "magic" "$PINGTUNNELNG_MAGIC" 20/32 \
  "$(lang de:"ICMP Tunnel magische Nummer" en:"ICMP Tunnel Magic Number"): "

sec_end