Jump to content


Photo

Openssl 1.0.0 for duo4k


  • Please log in to reply
65 replies to this topic

Re: Openssl 1.0.0 for duo4k #61 WanWizard

  • PLi® Core member
  • 68,551 posts

+1,737
Excellent

Posted 22 November 2019 - 00:01

The post install file I used for ViX/ATV is as below. I am sure there is a better way.

 

Thanks.

 

Did something similar, but used bash syntax not supported by ash (running bash myself, so didn't notice while testing).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Openssl 1.0.0 for duo4k #62 lopess

  • Senior Member
  • 57 posts

+1
Neutral

Posted 22 November 2019 - 06:54

@WanWizard - I think it's no needed to create mgcamd config files - it will be better if only '.example' config files will be created. This will prevent overwriting existing files if exists.

Laminas 150 - 39E | 36E , WaveFrontier T90 - 31,5E | 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W - 2.0/2.1 Spaun/WaveFrontier multiswich system
VU+ Ultimo 4K, Duo4k, Duo4KSE, Zgemma H7s


Re: Openssl 1.0.0 for duo4k #63 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 22 November 2019 - 08:21

If they are marked as configfiles, they are not overwritten by an update.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Openssl 1.0.0 for duo4k #64 WanWizard

  • PLi® Core member
  • 68,551 posts

+1,737
Excellent

Posted 22 November 2019 - 12:11

CONFFILES = "/usr/keys/mg_cfg /usr/keys/ignore.list /usr/keys/newcamd.list /usr/keys/priority.list /usr/keys/replace.list"

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Openssl 1.0.0 for duo4k #65 Avrumba

  • New Member
  • 1 posts

0
Neutral

Posted 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


Re: Openssl 1.0.0 for duo4k #66 WanWizard

  • PLi® Core member
  • 68,551 posts

+1,737
Excellent

Posted 11 March 2020 - 17:10

Just looking at this...

  1. Why did you add the sleep to "start", if it is only a restart problem (and not change the sleep 1 to sleep 4)?
  2. Why did you remove the ulimit?
  3. Shouldn't the files be deleted after the softcam has been stopped, instead of before?

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users