From 62ff68fba54acba199c9eb4aed7ac912cdfd50cf Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 17 Sep 2013 21:45:30 +0000 Subject: procd: convert various packages to procd style init.d scripts Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/utils/busybox/files/sysntpd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/utils') diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd index c40ee76da3..d7a9807a87 100755 --- a/package/utils/busybox/files/sysntpd +++ b/package/utils/busybox/files/sysntpd @@ -27,5 +27,11 @@ start_service() { procd_append_param command -p $peer done } + procd_set_param respawn procd_close_instance } + +service_triggers() +{ + procd_add_reload_trigger "system" +} -- cgit v1.2.3