From c731d42b1adbc6fc0d72bf3f551ae96962d1d26a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 15 Oct 2006 21:03:30 +0000 Subject: init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/ (enable|disable) manages symlinks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/qos-scripts/files/etc/init.d/S50qos | 18 ------------------ package/qos-scripts/files/etc/init.d/qos | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 18 deletions(-) delete mode 100755 package/qos-scripts/files/etc/init.d/S50qos create mode 100755 package/qos-scripts/files/etc/init.d/qos (limited to 'package/qos-scripts/files') diff --git a/package/qos-scripts/files/etc/init.d/S50qos b/package/qos-scripts/files/etc/init.d/S50qos deleted file mode 100755 index 87e18fb28d..0000000000 --- a/package/qos-scripts/files/etc/init.d/S50qos +++ /dev/null @@ -1,18 +0,0 @@ -#!/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 -} 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 0000000000..4fa42d4a24 --- /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.sh firewall | sh +} + +start() { + qos-start +} + +stop() { + qos-stop +} -- cgit v1.2.3