summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files/etc/init.d/S50qos
diff options
context:
space:
mode:
Diffstat (limited to 'package/qos-scripts/files/etc/init.d/S50qos')
-rwxr-xr-xpackage/qos-scripts/files/etc/init.d/S50qos18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/qos-scripts/files/etc/init.d/S50qos b/package/qos-scripts/files/etc/init.d/S50qos
new file mode 100755
index 0000000000..87e18fb28d
--- /dev/null
+++ b/package/qos-scripts/files/etc/init.d/S50qos
@@ -0,0 +1,18 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+boot() {
+ /usr/lib/qos.sh firewall | sh
+}
+
+start() {
+# FIXME: after init script migration
+# qos-start
+#
+
+ boot
+}
+
+stop() {
+ qos-stop
+}