Jump to content


Avrumba

Member Since 24 Feb 2020
Offline Last Active 09 Sep 2022 21:11
-----

Posts I've Made

In Topic: Openssl 1.0.0 for duo4k

24 February 2020 - 23:25

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