QoS: Improve saving enabled/disable state

It was reported that the QoS did not stop when
the user clicked the "stop" button. This patch
fixes that.

Fixes #10664

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
This commit is contained in:
Michael Tremer
2016-01-05 21:00:19 +00:00
parent 9a09d94ee3
commit b0a014b7f8
4 changed files with 32 additions and 10 deletions

View File

@@ -1,4 +1,6 @@
etc/system-release
etc/issue
srv/web/ipfire/cgi-bin/ovpnmain.cgi
srv/web/ipfire/cgi-bin/qos.cgi
usr/bin/pgrep
usr/local/bin/qosctrl

View File

@@ -43,6 +43,9 @@ extract_files
# Start services
/etc/init.d/dnsmasq start
# Delete old QoS enabled indicator
rm -f /var/ipfire/qos/enable
# This update need a reboot...
#touch /var/run/need_reboot