ddns-scripts: add init script
Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38416 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/ddns-scripts/files/etc/init.d/ddns
Normal file
12
net/ddns-scripts/files/etc/init.d/ddns
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
START=95
|
||||
|
||||
start() {
|
||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||
start_daemon_for_all_ddns_sections
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall -9 dynamic_dns_updater.sh
|
||||
}
|
||||
|
Reference in New Issue
Block a user