aboutsummaryrefslogtreecommitdiffstats
path: root/package/qos-scripts/files/etc/init.d/qos
diff options
context:
space:
mode:
Diffstat (limited to 'package/qos-scripts/files/etc/init.d/qos')
-rwxr-xr-xpackage/qos-scripts/files/etc/init.d/qos16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/qos-scripts/files/etc/init.d/qos b/package/qos-scripts/files/etc/init.d/qos
new file mode 100755
index 000000000..3f711155e
--- /dev/null
+++ b/package/qos-scripts/files/etc/init.d/qos
@@ -0,0 +1,16 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+START=50
+
+boot() {
+ /usr/lib/qos/generate.sh firewall | sh
+}
+
+start() {
+ qos-start
+}
+
+stop() {
+ qos-stop
+}