mirror of
https://github.com/openwrt/routing.git
synced 2025-01-18 22:11:48 +00:00
17 lines
257 B
Bash
17 lines
257 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2007-2011 OpenWrt.org
|
|
|
|
START=90
|
|
|
|
SERVICE_USE_PID=1
|
|
SERVICE_PID_FILE=/var/run/ndppd.pid
|
|
|
|
start() {
|
|
mkdir -p /var/run
|
|
service_start /usr/sbin/ndppd -p $SERVICE_PID_FILE -d
|
|
}
|
|
|
|
stop() {
|
|
service_stop /usr/sbin/ndppd
|
|
}
|