TM600/500 ToneDeff's Blue Panel Server..

got bored and decided to add aload of new telnet commands not sure if anyone will actually use them, got a couple of ideas for ftpget/ftpput :D

the version of crond i added a while ago is actually another version of busybox that contains crond and afew other things, decided as it was working with crond to add some of the other things it contains.

> Scripts > Telnet Scripts > Add Extra 'busybox' Commands

addgroup
Code:
You don't have permission to view the code content. Log in or register now.

adduser
Code:
You don't have permission to view the code content. Log in or register now.

cmp
Code:
You don't have permission to view the code content. Log in or register now.

delgroup
Code:
You don't have permission to view the code content. Log in or register now.

deluser
Code:
You don't have permission to view the code content. Log in or register now.

dirname
Code:
You don't have permission to view the code content. Log in or register now.

egrep
Code:
You don't have permission to view the code content. Log in or register now.

fgrep
Code:
You don't have permission to view the code content. Log in or register now.

ftpget
Code:
You don't have permission to view the code content. Log in or register now.

ftpput
Code:
You don't have permission to view the code content. Log in or register now.

hexdump
Code:
You don't have permission to view the code content. Log in or register now.

losetup
Code:
You don't have permission to view the code content. Log in or register now.

md5sum
Code:
You don't have permission to view the code content. Log in or register now.

mesg
Code:
You don't have permission to view the code content. Log in or register now.

renice
Code:
You don't have permission to view the code content. Log in or register now.

strings
Code:
You don't have permission to view the code content. Log in or register now.

stty
Code:
You don't have permission to view the code content. Log in or register now.

tee
Code:
You don't have permission to view the code content. Log in or register now.

traceroute
Code:
You don't have permission to view the code content. Log in or register now.

usleep
Code:
You don't have permission to view the code content. Log in or register now.

check > BUSYBOX
for info on any of the existing telnet commands.
 
I've managed to track down a plugin used on some images back in 2005

it's able to search the "epg.dat" data downloaded from for MV

has multiple search options

-description/summary
-channel
-genre
-next 24 hours

and a couple of other i've forgoten, i will be adding it to panel later and configured to use the data by WeekEPGLog for MV, using same scripts to update etc.

might need some help testing it as at the moment i don't think i've got the channel mapping working 100% for setting timers.
 
I'm also considering adding backup scripts

e.g that would copy

Code:
You don't have permission to view the code content. Log in or register now.

to /hdd/varbackup/ or /mmc/varbackup/

and then also add an option to restore them,
 
Just Added "EPG Find" plugin to panel, it's using all the MultiView update scripts and the epg.dat file so it won't list any +1 channels in search results for now...

i might add an option to choose between

7 days no +1
5 days with +1

seems to be a pretty nice EPG search plugin, pretty fast and lots of options :)
 
anyone want to help me test a /var/ backup script...

pretty sure it's working fine i just don't want to do a factory reset on my box to test it :banana:

here's how it will work
/bin/varbackup

in telnet
varbackup hdd > copy user files in /var/ to /hdd/varbackup/
varbackup hdd > copy user files in /var/ to /mmc/varbackup/

varbackup tarhdd > copy user files in /var/ to /hdd/varbackup.tar.gz
varbackup tarmmc > copy user files in /var/ to /mmc/varbackup.tar.gz

varbackup > will start script then prompt for "hdd" "mmc" "tar hdd" or "tar mmc"

once working it will also have the above options in panel, including ones to remove backups.
 
ill do it m8

ill flash with a new image, install some stuff, then try it

is it on your panel?
 
haven't put it on panel yet as it's still a work in progress, if you've got abit of spare time at somepoint could you get on msn ?
 
have added "VarBackup" to panel.. test at your own risk ;P

at the moment it only has the straight copy options not compressing to .tar.gz

options for it have been added to panel but it can also be run from telnet.

varbackup hdd
varbackup mmc
varbackup restorehdd
varbackup restoremmc

if you launch it from just
varbackup
it will prompt you to type in one of the options above.

i've only tested the copying works not that it actually "works" to restore into /var/
 
I am changing the script quite abit, just realised that "cp" instead of copying dir symlinks copies whats inside the symlinked dir.

found another method for copying the files using "tar" that preserves attributes etc and only copies the symlink
 
relax more making scripts etc for the TM600 than i do watching tv on it :D

Edit:

Just changed the varbackup script on Panel to a version using just "tar" for copying the dir's

"cp" was copying the MultiView dir symlink and all the epg.dat etc it contained.

here's what i've got so far for it...

Code:
You don't have permission to view the code content. Log in or register now.
 
Last edited:
Made alot of changes to the "varbackup" script, all copying is now done by "tar" added afew things to make it abit cleaner and also added options to backup into a .tar.gz

hdd = copy user files in /var/ to /hdd/varbackup/
mmc = copy user files in /var/ to /mmc/varbackup/
restorehdd = restore user files from /hdd/varbackup/
restoremmc = restore user files from /mmc/varbackup/

tarmmc = compress user files from /var/ into /mmc/varbackup/varbackup.tar.gz
tarhdd = compress user files from /var/ into /hdd/varbackup/varbackup.tar.gz
restoretarmmc = restore user files from /mmc/varbackup/varbackup.tar.gz
restoretarhdd = restore user files from /hdd/varbackup/varbackup.tar.gz

for anyone interested here's the "tar" copying version
Code:
You don't have permission to view the code content. Log in or register now.

Edit:
fixed typo, thxs digi ;P
 
Last edited:
restorehdd = restore user files from /mmc/varbackup/
restoremmc = restore user files from /hdd/varbackup/

is that just a typo in the text m8?
 
would appear to be :banana:

Edit:
now to hope that i've not done the same in the script anywhere :D
 
thats why i thought id point it out m8, just in case ;)

but the script looks good from here, but im a newbie at all this
 
just checked all the options and they all "work" the right way now, i still have not tested what happens after doing a factory reset msyelf, but i have changed settings..

e.g mount manager

then done a backup restore and settings get reverted to the backup's.

p.s
if you had installed it before the time of this post, reinstall "varbackup" script from panel, made a couple more changes.
 
Just Changed the way crond runs, have made it so it now runs any scripts in certain dir's using the "run-parts" cmd

also changed the way Panel handles changing crond settings, reinstall crond to get updated version.

Every Hour = /var/spool/cron.hourly
4:20 Every Day = /var/spool/cron.daily
5:20 Tuesday/Friday = /var/spool/cron.twiceweekly
5:20 Wednesday = /var/spool/cron.weekly

just put any script you want into specified dir's make 755 and remove extensions ".sh"

e.g
runscript.sh < won't be run
runscript < would be run
 
Added 2 new sections to "Skins"

Radio Backgrounds = Background image displayed while on radio channel.
Scan Backgrounds = Background image displayed while scanning satellites.

if you'd like me to add images for either just post them on here or pm me them, just makes sure they are 4:3 aspect..

e.g
720×576
1280x1024
etc..
 
Have changed the MultiView/EPG.Fin/EPGui update scripts slightly so they now also give feedback on tv screen when started from telnet or crond.

using the webinterface "xmessage" command e.g
Code:
You don't have permission to view the code content. Log in or register now.

will be doing the same for WeekEPG script in abit and also adding 1-8 day selection to it's Panel section, same as MV has now.
 
Added new section "Auto Update Chanlist + EPG configs" uses the new crond layout to add scripts for auto updating

"Update Chan List Weekly"
"Update channels.uk Weekly"
"Update mv.channels.uk Weekly"

it then updates bouquet list to new one without restarting enigma...

using
Code:
You don't have permission to view the code content. Log in or register now.

p.s
also added "ChanListUpdate" as an optional Telnet command you can install from > Scripts > Telnet

once installed just put "ChanListUpdate" in telnet and it will update to latest chanlist and reload settings.

p.p.s
i changed the script used to update chanlist manually from Panel to this one, as it is able to update chanlist without restarting....
 
Back
Top