summaryrefslogtreecommitdiff
path: root/package/utils/busybox/files/sysntpd
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-09-17 21:45:30 +0000
committerJohn Crispin <john@openwrt.org>2013-09-17 21:45:30 +0000
commitf87409440298121ae1fbd718a17267cc180438e4 (patch)
tree2ceea2187fddf2c9fb21cb43a27d69afdd55e81f /package/utils/busybox/files/sysntpd
parent4f62127dea854024116383c84fedb673baaae9cd (diff)
downloadmtk-20170518-f87409440298121ae1fbd718a17267cc180438e4.zip
mtk-20170518-f87409440298121ae1fbd718a17267cc180438e4.tar.gz
mtk-20170518-f87409440298121ae1fbd718a17267cc180438e4.tar.bz2
procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38023
Diffstat (limited to 'package/utils/busybox/files/sysntpd')
-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 c40ee76..d7a9807 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"
+}