packages/arpwatch: use new service functions
[openwrt/svn-archive/archive.git] / net / arpwatch / files / arpwatch.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006-2011 OpenWrt.org
3
4 START=90
5
6 start() {
7 service_start /usr/sbin/arpwatch -f /etc/arpwatch/arp.dat -i br-lan
8 }
9
10 stop() {
11 service_stop /usr/sbin/arpwatch
12 }