3 # Server-side demuxing by default
6 [ -r /etc
/default
/iiod
] && .
/etc
/default
/iiod
10 echo "Starting IIO Server Daemon"
11 start-stop-daemon
-S -b -q -m -p /var
/run
/iiod.pid
-x /usr
/sbin
/iiod
-- $IIOD_OPTS
16 echo "Stopping IIO Server Daemon"
17 start-stop-daemon
-K -q -p /var
/run
/iiod.pid
2>/dev
/null
28 echo "Usage: $0 {start|stop|restart}"