]> Pileus Git - ~andy/sunrise/blob - net-firewall/nufw/files/nuauth-init.d
net-firewall/nufw - bug 138378
[~andy/sunrise] / net-firewall / nufw / files / nuauth-init.d
1 #!/sbin/runscript
2 # Copyright 1999-2006 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: $
5
6 depend() {
7         before net
8 }
9
10 start() {
11         ebegin "Starting nuauth"
12         start-stop-daemon --start --quiet --exec /usr/sbin/nuauth -- -D ${NUAUTH_OPTIONS}
13         eend $?
14 }
15
16 stop() {
17         ebegin "Stopping nuauth"
18         start-stop-daemon --stop --quiet --pidfile /var/run/nuauth/nuauth.pid
19         eend $?
20 }