ndppd: importing ndppd package in openwrt-routing feed
[feed/routing.git] / ndppd / files / ndppd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2007-2011 OpenWrt.org
3
4 START=90
5
6 SERVICE_USE_PID=1
7 SERVICE_PID_FILE=/var/run/ndppd.pid
8
9 start() {
10 mkdir -p /var/run
11 service_start /usr/sbin/ndppd -p $SERVICE_PID_FILE -d
12 }
13
14 stop() {
15 service_stop /usr/sbin/ndppd
16 }