Jump to content


Photo

auto run command on startup

vu+ duo 4k se openpli 8.3

  • Please log in to reply
11 replies to this topic

#1 kemoogo

  • Member
  • 8 posts

0
Neutral

Posted 12 November 2022 - 14:41

Hi

I want to run a command every time system boot or startup

Device : Vu+ Duo 4k SE 

OS : Openpli 8.3

 



Re: auto run command on startup #2 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 12 November 2022 - 15:46

Create

enigma2_pre_start.sh

in

/usr/bin/

Than make it executable and edit it


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: auto run command on startup #3 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 12 November 2022 - 15:52

As this Q comes once in a while, I have put it in our wiki https://wiki.openpli...ands_at_startup


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: auto run command on startup #4 s3n0

  • Senior Member
  • 673 posts

+62
Good

Posted 12 November 2022 - 21:11

Hi.

 

This URL with the sharp sign does not work for me. But without sharp it works:
https://wiki.openpli...Tips_and_Tweaks

or:

https://wiki.openpli...ands_at_startup

 

I also wanted to add that the "/usr/bin/enigma2_pre_start.sh" script is executed before Enigma is started, so if the script is to do something only after Enigma is started, it is necessary to use another method, for example the "init.d" method (or "systemd" for Enigma distributions other than OpenPLi).

 

It is also necessary to set the attributes of the file for this script: chmod a+x /usr/bin/enigma2_pre_start.sh



Re: auto run command on startup #5 kemoogo

  • Member
  • 8 posts

0
Neutral

Posted 13 November 2022 - 05:32

Create

enigma2_pre_start.sh

in

/usr/bin/

Than make it executable and edit it

^_^ Thanks it works finally



Re: auto run command on startup #6 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 13 November 2022 - 13:34

Hi.

 

This URL with the sharp sign does not work for me. But without sharp it works:
https://wiki.openpli...Tips_and_Tweaks

or:

https://wiki.openpli...ands_at_startup

 

I also wanted to add that the "/usr/bin/enigma2_pre_start.sh" script is executed before Enigma is started, so if the script is to do something only after Enigma is started, it is necessary to use another method, for example the "init.d" method (or "systemd" for Enigma distributions other than OpenPLi).

 

It is also necessary to set the attributes of the file for this script: chmod a+x /usr/bin/enigma2_pre_start.sh

Strange, here both work. Tested 2 OS and 2 browsers and none have a problem with the # in the url


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: auto run command on startup #7 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 13 November 2022 - 13:34

 

Create

enigma2_pre_start.sh

in

/usr/bin/

Than make it executable and edit it

^_^ Thanks it works finally

 

Good to hear, thanks for reporting back


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.


Re: auto run command on startup #8 s3n0

  • Senior Member
  • 673 posts

+62
Good

Posted 13 November 2022 - 17:59

It didn't work for me because of problems with the installed blockers of: cookies / spyware scripts / advertisements / ... and so on - in my web browser :).

 

When I disabled cookie filtering for OpenPLi, it worked OK.

 

Sorry. As always :). I always have this problem with OpenPLi websites after clearing all my cookies. I have to fix it then, for this particular OpenPLi website.


Edited by s3n0, 13 November 2022 - 17:59.


Re: auto run command on startup #9 WanWizard

  • PLi® Core member
  • 70,528 posts

+1,811
Excellent

Posted 13 November 2022 - 18:09

Using an anchor in the URL is RFC standard, and has nothing to do with cookies, scripts or adds.

 

It just means "jump to this anchor" after loading the page. If it doesn't work for you, it is more likely your stack of tools does something it isn't supposed to do.

 

Also, blanked cookie filtering is a bad idea, most websites need to use (some) cookies. Without cookies, our websites can't track whether or not you have accepted our GDPR terms, and maintain your login status between requests.

 

See https://openpli.org/...d-personal-data to find which cookies are required, and which you can filter.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: auto run command on startup #10 s3n0

  • Senior Member
  • 673 posts

+62
Good

Posted 13 November 2022 - 18:34

Cookies can be abused. This also applies to private computers. Not just on public computers. If someone gets access to the cookies, he will find out a lot info about the user. If someone gets to these cookie files, he can use them to his advantage (in an illegal way).

 

I filter everything what I can ... or everything what I don't need. Some websites may be unfiltered, but these are exceptions. Such as electronic banking. Because web designers in electronic banking ensure access to their websites very well.

 

It can also be googled, for example here:

https://quadrantsec....issues-cookies/

https://www.kaspersk...nitions/cookies



Re: auto run command on startup #11 WanWizard

  • PLi® Core member
  • 70,528 posts

+1,811
Excellent

Posted 13 November 2022 - 18:36

If you believe some cookies are more secure than other cookies, we need to talk, as I have a bridge for sale...

 

But have it your way. Just know the consequences of your actions.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: auto run command on startup #12 40H3X

  • Forum Moderator
    PLi® Contributor
  • 5,956 posts

+191
Excellent

Posted 13 November 2022 - 18:53

It didn't work for me because of problems with the installed blockers of: cookies / spyware scripts / advertisements / ... and so on - in my web browser :).

 

When I disabled cookie filtering for OpenPLi, it worked OK.

 

Sorry. As always :). I always have this problem with OpenPLi websites after clearing all my cookies. I have to fix it then, for this particular OpenPLi website.

 

Good that you found the culprit and nothing to be sorry about. If I may suggest something, if you want more safety/privacy use a DNS sinkhole and use your own DNS resolver


Hardware: Vu+ Uno 4K SE - Vu+ Duo 4K  - Fuba 78 cm - Tripleblock LNB Quad 19.2/23.5/28.2 - DS918+
Software : OpenPLi - OSCam - Settings van Hans - Autotimer - EPGImport

---------------------------------------------------------------------------------------------------------------------------------------

Remember: Upvote with the rep_up.png button for any user/post you find to be helpful, informative, or deserving of recognition!

---------------------------------------------------------------------------------------------------------------------------------------

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

Note: I do not provide support via PM !.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users