summaryrefslogtreecommitdiffstats
path: root/package/qos-scripts/files/usr/lib
diff options
context:
space:
mode:
Diffstat (limited to 'package/qos-scripts/files/usr/lib')
-rwxr-xr-xpackage/qos-scripts/files/usr/lib/qos/generate.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/qos-scripts/files/usr/lib/qos/generate.sh b/package/qos-scripts/files/usr/lib/qos/generate.sh
index 093967f7a..a983d159a 100755
--- a/package/qos-scripts/files/usr/lib/qos/generate.sh
+++ b/package/qos-scripts/files/usr/lib/qos/generate.sh
@@ -486,6 +486,13 @@ case "$1" in
start_interfaces
;;
firewall)
- start_firewall
+ case "$2" in
+ stop)
+ stop_firewall
+ ;;
+ start|"")
+ start_firewall
+ ;;
+ esac
;;
esac