Script Plugin

PCD

DB Magician
Joined
Jul 19, 2003
Messages
632
Reaction score
1
Points
18
Here is a plugin which will run scripts from the plugin menu. Ftp the attached .so and .cfg files to /var/tuxbox/plugins, and script01.sh - script09.sh to /var/bin. If you have a script to use just replace script01.sh etc. I have put in a trial script as script01.sh. Even if you use only one or two scripts the other files (empty) need to be there.

The plugin was compiled from the cvs.tuxbox.org source for the 5620, but may work for the other dbs.

Regards, pcd.
 

T_G

The Consumate Dreamer
Staff member
Joined
Jan 1, 2000
Messages
6,693
Reaction score
241
Points
63
Age
59
My Satellite Setup
1 GigaBlue Quad plus, 1 Dreambox 5620, MOTECK SG2100A DISEqC Motor, 120 cm noname offset dish, Humax 95 cm offset dish and a few UK digiboxes.
My Location
Somewhere where the Sauer is Kraut and the Wurst is Brat
OK PCD, here it is!
So to make sure I understand, this is so we can now activate the user scripts over the blue panel rather than through the blue/info/user script??
 

PCD

DB Magician
Joined
Jul 19, 2003
Messages
632
Reaction score
1
Points
18
T_G said:
OK PCD, here it is!
So to make sure I understand, this is so we can now activate the user scripts over the blue panel rather than through the blue/info/user script??

Yes, T_G, using the blue-panel - plugins selection. Some images of course don't have the blue panel userscript facility - this plugin will do the job for those. Regards, pcd.
 

PCD

DB Magician
Joined
Jul 19, 2003
Messages
632
Reaction score
1
Points
18
A stripped version (much smaller) is now uploaded above. Very sorry to anybody who had problem with the last one regarding size !
 

PCD

DB Magician
Joined
Jul 19, 2003
Messages
632
Reaction score
1
Points
18
This is now even easier with the new images (e.g gemini 2.7). Just

(1) Ftp your script file (.sh) AND the attached .cfg to /var/tuxbox/plugins

(2) Rename the .cfg file to the script file name

(3) Edit the .cfg file to insert the script file name

(4) Chmod 755

(5) Blue panel > Plugins - the name will appear.

I have included an example .sh file to test. :)

Regards, pcd
 
Joined
Sep 28, 2011
Messages
1
Reaction score
0
Points
0
Age
47
My Satellite Setup
Dreambox 500S
My Location
Greece
Is there any way to give description to the scripts?
for example when you see the list of scripts
1. CheckInternet
2. Netstat
...
 

kalehrl

Member
Joined
Nov 11, 2005
Messages
48
Reaction score
1
Points
8
Age
41
My Satellite Setup
Dreambox 500+;
Echostar 770 (Strong 6155);
90cm Triax dish;
Strong DM2100 diseqc motor.
My Location
Serbia
In myscript.cfg add your description after desc=...

desc=your description
 
Top