aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/urngd/files/urngd.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/urngd/files/urngd.init')
-rw-r--r--package/system/urngd/files/urngd.init17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/system/urngd/files/urngd.init b/package/system/urngd/files/urngd.init
new file mode 100644
index 0000000000..7531ca8f39
--- /dev/null
+++ b/package/system/urngd/files/urngd.init
@@ -0,0 +1,17 @@
+#!/bin/sh /etc/rc.common
+
+START=00
+
+USE_PROCD=1
+NAME=urngd
+PROG=/sbin/urngd
+
+start_service() {
+ procd_open_instance
+ procd_set_param command "$PROG"
+ procd_close_instance
+}
+
+reload_service() {
+ procd_send_signal $PROG
+}