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/htbinit/files
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/htbinit/files')
-rw-r--r--net-misc/htbinit/files/rc_htbinit5
1 files changed, 3 insertions, 2 deletions
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 $?