Jump to content


Photo

SatXml Updater

Script enigma2 Satellite.xml

  • Please log in to reply
No replies to this topic

#1 Lukin

  • Senior Member
  • 134 posts

+8
Neutral

Posted 24 November 2011 - 10:13

Hi everyone!,

I`ve made a little "script" which updates Satellite.xml on Enigma2 boxes.


#!/bin/sh
 
echo ""
echo "[-]=================================[-]"
echo "[-]===== Satellite.xml Updater =====[-]"
echo "[-]== Reinh@rd (European Edition) ==[-]"
echo "[-]=================================[-]"
cd /tmp
 
echo " "
echo " >>> Downloading..."
 
wget http://www.xml.redballon.net/xml/E2-satellites-xml.tar.gz -O /tmp/E2-satellites-xml.tar.gz
mkdir /tmp/SatXml
 
echo ""
echo " >>> Uncompressing..."
 
tar -xzf /tmp/E2-satellites-xml.tar.gz -C /tmp/SatXml/
cd /tmp/SatXml/E2-satellites-xml
chmod 644 /tmp/SatXml/E2-satellites-xml/satellites.xml
 
echo ""
echo " >>> Installing..."
 
cp satellites.xml /etc/tuxbox/
 
echo ""
echo " >>> Cleaning up..."
 
rm -rf /tmp/SatXml/
rm -rf /tmp/E2-satellites-xml.tar.gz
 
echo " "
echo " DO NOT Forget to RESTART enigma to APPLY new satellite.xml "
echo " "
echo "######################################"
echo "#                                    #"
echo "#  THANKS TO Reinh@rd for providing  #"
echo "#  the file for online access        #"
echo "#                                    #"
echo "######################################"
echo " "
echo "________Terminating_____________________BY_Lukin_________"
echo "|----------------------------------------------=[ EOF ]=|"
 
sleep 2
exit 0

- Download the script from the file below, the following guide and screenshots are also included (or copy it from the code)

- Upload it to your scripts` directory via ftp.

- Navigate to it from within dream with dream-explorer or via telnet if you`re comfortable, mine is @ /usr/script, >>>screenshot 1 & 2

Posted Image

Posted Image

- if you`re making a directory from scratch, make sure you repair permissions first via telnet, by issuing:
>>> screenshot 5
chmod 755 /path to your directory

Posted Image

- Highlight it, press o.k. and choose "start execution" >>> screenshot 3 & 4.

Posted Image

Posted Image

- Restart enigma, and you`re done!

Thx to Reinh@rd for providing online access.
This is only possible as long as "E2-Satellites-xml.tar" from Reinh@rd is "online"!!!
Feel free to use/modify my script in whatever way you want.

Download:
http://www.mediafire...krsu135g7kvbsl8

-Lukin.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users