armv7ahf = all VU+ ARM boxes
With this script, restarting the mgcamd does not work, you need to restart the receiver
#!/bin/sh case "$1" in start) ulimit -s 1024 exec start-stop-daemon -S -x /usr/bin/mgcamd ;; stop) exec start-stop-daemon -K -R 2 -x /usr/bin/mgcamd ;; restart|reload) $0 stop sleep 1 $0 start ;; version) echo "1.35a" ;; info) echo "mgcamd 1.35a" ;; *) echo "Usage: $0 start|stop|restart" exit 1 ;; esac exit 0
Please make a package with this script! Checked on duo4k
#!/bin/sh case "$1" in start) sleep 3 ; start-stop-daemon -S -b -x /usr/bin/mgcamd ;; stop) rm -rf /tmp/*.info /tmp/*.tmp /tmp/*mgcamd* exec start-stop-daemon -K -R 2 -x /usr/bin/mgcamd ;; restart|reload) $0 stop sleep 1 $0 start ;; version) echo "1.35a" ;; info) echo "mgcamd 1.35a" ;; *) echo "Usage: $0 start|stop|restart" exit 1 ;; esac exit 0