#!/bin/sh . /usr/share/shlib.sh version webif export DATE="$(version_get_releasedate '$LastChangedDate: 2008-01-19 23:59:53 +0100 (Sat, 19 Jan 2008) $')";SCRIPT=${0#/rom} export TITLE="Verwaltung: Statistik" . ${SCRIPT%/*}/cgi-bin-pre.sh redraw_stats() { echo "
Weiter unten kann eingestellt werden, für welchen VPN-Tunnel bzw. welches Tunneldevice eine Statistik erstellt wird. Ohne spezielle Konfiguration des Nodes wird diese Funktion nicht benötigt.
Tipp: Die Eintraege koennen auch leer bleiben, falls keine VPN-Verbindungen o.Ä. benutzt werden.
EOF else IFS=\&;set ${QUERY_STRING%%[^%&=+-:@-_a-z~]*};unset IFS;eval $* DIRTY= if [ -n "$post_adress" ]; then ff_stat_outputdir="$(webif_urldecode "$ff_stat_outputdir")" for V in ff_stat_gateway1 ff_stat_gateway2 ff_stat_node1 ff_stat_node2 ff_stat_outputdir; do eval "C=\$$V" C=$(unescape $C) if [ "$C" != "$(nvram get $V)" ]; then REBOOT=1 nvram set $V="$C" fi done for V in ff_stat_colors; do eval "C=\$$V" C=$(unescape $C) if [ "$C" != "$(nvram get $V)" ]; then REDRAW=1 nvram set $V="$C" fi done for V in ff_stat_rst ff_stat_startpage; do eval "C=\$$V" C=$(unescape $C) if [ "$C" != "$(nvram get $V)" ]; then NOREBOOT=1 nvram set $V="$C" fi done fi if [ "$REBOOT" = "1" ]; then nvram commit >&- 2>&- cat<