libiio: add iiod init script

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
Stijn Tintel
2017-10-20 19:10:12 +03:00
parent 9f6eee3960
commit ebf5896009
2 changed files with 15 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh /etc/rc.common
START=90
USE_PROCD=1
PROG=/usr/sbin/iiod
start_service() {
procd_open_instance
procd_set_param command $PROG
procd_set_param respawn
procd_close_instance
}