From fe6f676b3542b78b4013b8d438f4bd2026c7c9f0 Mon Sep 17 00:00:00 2001 From: Stephan Feddersen Date: Sun, 27 Aug 2017 14:41:53 +0200 Subject: [PATCH] WIO: fix the bugs reported in the forum Signed-off-by: Michael Tremer --- lfs/wio | 4 ++-- src/paks/wio/install.sh | 1 + src/wio/wio.cgi | 25 ++++++++++++++++++++----- src/wio/wiographs.cgi | 2 +- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/lfs/wio b/lfs/wio index 25726cd934..d70b12b469 100644 --- a/lfs/wio +++ b/lfs/wio @@ -15,7 +15,7 @@ THISAPP = wio-$(VER) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = wio -PAK_VER = 2 +PAK_VER = 3 ############################################################################### # Top-level Rules @@ -58,7 +58,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) install -v -m 644 $(DIR_APP)/wio/images/* /srv/web/ipfire/html/images/wio/ install -v -m 655 $(DIR_APP)/wio/lang/wio.de.pl /var/ipfire/addon-lang/ install -v -m 655 $(DIR_APP)/wio/lang/wio.en.pl /var/ipfire/addon-lang/ - install -v -m 655 $(DIR_APP)/wio/EX-wio.menu /var/ipfire/menu.d/ + install -v -m 644 $(DIR_APP)/wio/EX-wio.menu /var/ipfire/menu.d/ install -v -m 644 $(DIR_APP)/wio/config/backup/includes/wio /var/ipfire/backup/addons/includes/wio @rm -rf $(DIR_APP) diff --git a/src/paks/wio/install.sh b/src/paks/wio/install.sh index f46ae350e9..5c7705bf14 100644 --- a/src/paks/wio/install.sh +++ b/src/paks/wio/install.sh @@ -30,6 +30,7 @@ chown -R nobody.nobody /var/log/rrd/wio chown -R nobody.nobody /var/log/wio chown root.nobody /usr/local/bin/wioscan chown root.nobody /usr/local/bin/wiohelper +chown nobody.nobody /var/ipfire/menu.d/EX-wio.menu chmod 4750 /usr/local/bin/wioscan chmod 4750 /usr/local/bin/wiohelper diff --git a/src/wio/wio.cgi b/src/wio/wio.cgi index aa471e621a..4fbf34aee1 100644 --- a/src/wio/wio.cgi +++ b/src/wio/wio.cgi @@ -21,7 +21,7 @@ # # ############################################################################### # -# id: wio.cgi, v1.3.1 2017/07/11 21:31:16 sfeddersen +# id: wio.cgi, v1.3.2 2017/08/27 14:11:16 sfeddersen # # This wio.cgi is based on the Code from the IPCop WIO Addon # and is extremly adapted to work with IPFire. @@ -917,7 +917,10 @@ print"  $Lang::tr{'wio min'} @@ -929,7 +932,10 @@ print"  $Lang::tr{'wio sec'} @@ -980,7 +986,10 @@ print"  $Lang::tr{'wio min'} @@ -1947,7 +1956,13 @@ print" - +"; + +if ( $wiosettings{'LOGGING'} eq 'on' ) { + print""; +} + +print"
diff --git a/src/wio/wiographs.cgi b/src/wio/wiographs.cgi index 73702370eb..06b6946451 100644 --- a/src/wio/wiographs.cgi +++ b/src/wio/wiographs.cgi @@ -21,7 +21,7 @@ # # ############################################################################### # -# id: wiographs.cgi, v1.3.1 2017/07/11 21:31:16 sfeddersen +# id: wiographs.cgi, v1.3.2 2017/08/27 14:11:16 sfeddersen # # This wiographs.cgi is based on the Code from the IPCop WIO Addon # and is extremly adapted to work with IPFire. -- 2.39.2