summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-07-21 19:28:44 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-07-21 19:28:44 +0000
commit08fc07b4db7c901022c95d5d77e74016a2fce5a5 (patch)
tree3e78e0506f9046dfedeef51a3ac088e362c49f91 /app-admin/webmin/files/webmin-gentoo-init
parentAdded depend section. Closes #24818 (diff)
downloadgentoo-2-08fc07b4db7c901022c95d5d77e74016a2fce5a5.tar.gz
gentoo-2-08fc07b4db7c901022c95d5d77e74016a2fce5a5.tar.bz2
gentoo-2-08fc07b4db7c901022c95d5d77e74016a2fce5a5.zip
Added depend section. Closes #24818
Diffstat (limited to 'app-admin/webmin/files/webmin-gentoo-init')
-rw-r--r--app-admin/webmin/files/webmin-gentoo-init19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-admin/webmin/files/webmin-gentoo-init b/app-admin/webmin/files/webmin-gentoo-init
new file mode 100644
index 000000000000..a6fd9b354a0c
--- /dev/null
+++ b/app-admin/webmin/files/webmin-gentoo-init
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need net logger
+}
+
+start() {
+ ebegin "Starting webmin"
+ /etc/webmin/start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping webmin"
+ /etc/webmin/stop
+ eend $?
+}