summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-11-14 18:55:59 +0000
committerCédric Krier <cedk@gentoo.org>2006-11-14 18:55:59 +0000
commit2fb2c02d2c9e1ad881c5a81cbe9ea6d02e942e9d (patch)
tree4c850d5e5782b3a3230c2110d74a18a21f2a7997 /net-firewall/nufw/files/nuauth-init.d
parentnet-firewall/libnfnetlink: in portage now (diff)
downloadsunrise-2fb2c02d2c9e1ad881c5a81cbe9ea6d02e942e9d.tar.gz
sunrise-2fb2c02d2c9e1ad881c5a81cbe9ea6d02e942e9d.tar.bz2
sunrise-2fb2c02d2c9e1ad881c5a81cbe9ea6d02e942e9d.zip
net-firewall/nufw: in portage now
svn path=/sunrise/; revision=1919
Diffstat (limited to 'net-firewall/nufw/files/nuauth-init.d')
-rw-r--r--net-firewall/nufw/files/nuauth-init.d26
1 files changed, 0 insertions, 26 deletions
diff --git a/net-firewall/nufw/files/nuauth-init.d b/net-firewall/nufw/files/nuauth-init.d
deleted file mode 100644
index 6e2788890..000000000
--- a/net-firewall/nufw/files/nuauth-init.d
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- before net
-}
-
-checkconfig() {
- if [ ! -e /etc/nufw/nuauth.conf ]; then
- eerror "You need a /etc/nufw/nuauth.conf file to run nuauth"
- eerror "There is sample file in /usr/share/doc/nufw-version/"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting nuauth"
- start-stop-daemon --start --quiet --exec /usr/sbin/nuauth -- -D ${NUAUTH_OPTIONS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping nuauth"
- start-stop-daemon --stop --quiet --pidfile /var/run/nuauth/nuauth.pid
- eend $?
-}