aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-09-17 21:45:30 +0000
committerJohn Crispin <blogic@openwrt.org>2013-09-17 21:45:30 +0000
commitd330d9fac452b6b37ded7541c381ca58ef7a4bc8 (patch)
treefc0c6034daf9bd0276dc91d027e26be26004680b /package/utils/busybox
parent021ff1b2d2678f1708c9fd86747c229f0ed227c0 (diff)
downloadupstream-d330d9fac452b6b37ded7541c381ca58ef7a4bc8.tar.gz
upstream-d330d9fac452b6b37ded7541c381ca58ef7a4bc8.tar.bz2
upstream-d330d9fac452b6b37ded7541c381ca58ef7a4bc8.zip
procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils/busybox')
-rwxr-xr-xpackage/utils/busybox/files/sysntpd6
1 files changed, 6 insertions, 0 deletions
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"
+}