Thanks: 0
Ergebnis 1 bis 5 von 5
Thema: Start a script on Bootup
-
09.05.2017, 10:46 #1
- Registriert seit
- 29.08.2013
- Beiträge
- 20
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 2
- Total Downloaded
- 4,97 MB
- Total Downloaded
- 4,97 MB
Start a script on Bootup
Morning guys
I have a script that I'd like to start on bootup.
I have tried putting it into enigma2.sh
I have tried creating it in init.d and I'm banging my head. I've searched the scripts section here and nothing.
Please advise.
-
Advertising
-
09.05.2017, 11:03 #2
- Registriert seit
- 20.04.2013
- Beiträge
- 24.820
- Thanks (gegeben)
- 4679
- Thanks (bekommen)
- 9076
- Total Downloaded
- 596,61 MB
- Total Downloaded
- 596,61 MB
Box 1:GB Q4K-SC / UE4K-SC / UE4K-CBox 2:GigaBlue Q-SSC / Q+-SSCBox 3:DM900uhd-SS / Vu+DuoBox 4:ZGemma H7/H9 SF8008Box 5:diverse andere . . .Only use /usr/bin/enigma2_pre_start.sh for your needs. This will be run before E2 is called. Don't forget to set permission to 0755 for the script.
Geändert von Papi2000 (09.05.2017 um 13:15 Uhr) Grund: Korrektur
Grüßle
Ralf
---------------------------------------------
Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
Astra 19.2E UniCable & KabelBW, oATV/teamBlue
(u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----
-
09.05.2017, 12:49 #3
- Registriert seit
- 29.08.2013
- Beiträge
- 20
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 2
- Total Downloaded
- 4,97 MB
- Total Downloaded
- 4,97 MB
ThemenstarterI have created the file you suggested and changed permissions to 755
Here is what I have put in the file Which does not work
#! / Bin / sh
Echo 33> / proc / progress
[-e "/usr/script/fixskybox.sh"] && /usr/script/fixskybox.sh &
Can you suggest the correct format for me to run the script please?
-
09.05.2017, 13:09 #4
- Registriert seit
- 29.08.2013
- Beiträge
- 20
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 2
- Total Downloaded
- 4,97 MB
- Total Downloaded
- 4,97 MB
ThemenstarterThanks for your help I changed the file name to enigma2_pre_start.sh and it now works perfectly.
-
09.05.2017, 13:13 #5
- Registriert seit
- 20.04.2013
- Beiträge
- 24.820
- Thanks (gegeben)
- 4679
- Thanks (bekommen)
- 9076
- Total Downloaded
- 596,61 MB
- Total Downloaded
- 596,61 MB
Box 1:GB Q4K-SC / UE4K-SC / UE4K-CBox 2:GigaBlue Q-SSC / Q+-SSCBox 3:DM900uhd-SS / Vu+DuoBox 4:ZGemma H7/H9 SF8008Box 5:diverse andere . . .What has to be done by your script "fixskybox.sh"? Why the /proc...?
You can place the content of your fix... into the created /usr/bin/enigma2_pre_start.sh directly.
EDIT: corrected naming of the fileGeändert von Papi2000 (09.05.2017 um 13:16 Uhr)
Grüßle
Ralf
---------------------------------------------
Gigablue Quad4K-mixed, UE4K, Trio4K, Quad_Plus-SSC, UE_Plus-SC, X2/X3-SC, UltraUE-SC, ...
Astra 19.2E UniCable & KabelBW, oATV/teamBlue
(u.a.: DM900uhd,Vu+Duo,ZGemma H9Twin & H7S), PC-DVB-S/C/T, Xtreamer, BDP5200, Philips 24PFS4022/12, 65OLED855/12,UE32C5700, RPi3+
---- Einen Receiver kann sich jeder kaufen - Eine stabile E²-Box muß man sich verdienen! ----
Lesezeichen