summaryrefslogtreecommitdiffstats
path: root/unmaintained/arpalert/arpalert.initd
blob: 2567dbab1b1729da7f11f9d2d4a8eae4fb74f7a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/runscript

depend() {
	need net
}

start() {
	ebegin "Starting arpalert"
	start-stop-daemon --quiet --start --pidfile /var/run/arpalert.lock --exec /usr/sbin/arpalert -- -d
	eend $?
}

stop() {
	ebegin "Stopping arpalert"
	start-stop-daemon --quiet --stop --pidfile /var/run/arpalert.lock
	eend $?
}