immortalwrt/package/lean/luci-app-dnspod/files/root/etc/init.d/dnspod
2019-09-03 14:05:11 +08:00

19 lines
189 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=80
start()
{
/usr/sbin/dnspod.sh --svc &
}
stop()
{
ps | grep dnspod.sh | grep -v 'grep' | awk '{print $1}' | xargs kill
}
run_reboot()
{
stop
start
}