summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2003-08-25 09:07:19 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2003-08-25 09:07:19 +0000
commit660be3ec35a56ba5e03f8eb018e3efddce6a2030 (patch)
treeff8193eed665a7406a5c2b59cfa391102c698c37 /net-misc
parentDeclaring stable, bug 25838 is the only one. (diff)
downloadhistorical-660be3ec35a56ba5e03f8eb018e3efddce6a2030.tar.gz
historical-660be3ec35a56ba5e03f8eb018e3efddce6a2030.tar.bz2
historical-660be3ec35a56ba5e03f8eb018e3efddce6a2030.zip
New features to init-script.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/htbinit/ChangeLog5
-rw-r--r--net-misc/htbinit/files/rc_htbinit5
-rw-r--r--net-misc/htbinit/htbinit-0.8.4.ebuild2
3 files changed, 8 insertions, 4 deletions
diff --git a/net-misc/htbinit/ChangeLog b/net-misc/htbinit/ChangeLog
index 682fe84b22b4..60ac62835a36 100644
--- a/net-misc/htbinit/ChangeLog
+++ b/net-misc/htbinit/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-misc/htbinit
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/ChangeLog,v 1.1 2003/08/17 18:34:53 bass Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/ChangeLog,v 1.2 2003/08/25 09:07:18 bass Exp $
*htbinit-0.8.4 (17 Aug 2003)
19 Jun 2003; J.Alberto Suárez L. <bass@gentoo.org> htbinit-0.8.4.ebuild:
First release. Thanks to Juan J. Prieto <jjptapia@eresmas.com>.
+ 25 Aug 2003; J.Alberto Suárez L. <bass@gentoo.org> htbinit-0.8.4.ebuild:
+ Added to initscript the "clear" & "reload" options. Juan J. Prieto <jjptapia@eresmas.com>.
+
diff --git a/net-misc/htbinit/files/rc_htbinit b/net-misc/htbinit/files/rc_htbinit
index 2679e4853b51..b4245404bb9c 100644
--- a/net-misc/htbinit/files/rc_htbinit
+++ b/net-misc/htbinit/files/rc_htbinit
@@ -13,8 +13,9 @@
# A shell-script wrapper for HTB.INIT designed for
# use in the SysV-init system (/etc/init.d).
#
-# usage: htbinit { start | stop | restart | reload | recreate | stats }
+# usage: htbinit { start | clear | reload | recreate | stats }
#
+opts="start clear reload recreate stats"
depend() {
need net
@@ -26,7 +27,7 @@ start() {
eend $?
}
-stop() {
+clear() {
ebegin "Stopping htbinit"
/usr/sbin/htbinit stop
eend $?
diff --git a/net-misc/htbinit/htbinit-0.8.4.ebuild b/net-misc/htbinit/htbinit-0.8.4.ebuild
index dad3871f2dd0..711c3a540c26 100644
--- a/net-misc/htbinit/htbinit-0.8.4.ebuild
+++ b/net-misc/htbinit/htbinit-0.8.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/htbinit-0.8.4.ebuild,v 1.1 2003/08/17 18:34:53 bass Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htbinit/htbinit-0.8.4.ebuild,v 1.2 2003/08/25 09:07:19 bass Exp $
DESCRIPTION="Sets up Hierachical Token Bucket based traffic control (QoS) with iproute2"
HOMEPAGE="http://www.sourceforge.net/projects/htbinit"