From 8612d336918b408fd3abd844ccb8189f0d64acc5 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 SVN-Revision: 5128 --- 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/etc') 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