#!/bin/sh
# script to download latest channels lists
# Tested on Enigma 1 images (DM500s)
# Jfish 1 Feb 2011
cd /tmp/
mkdir bq
cd bq
wget "http://192.168.1.10/bq.tar.gz"
chmod 755 /tmp/bq/bq.tar.gz
tar -xzvf bq.tar.gz
rm -rf /var/etc/satellites.xml
mv /tmp/bq/satellites.xml /var/etc/
rm -rf /tmp/bq/satellite.xml
cd /var/tuxbox/config/enigma/
rm -rf *.tv
rm -rf *.radio
rm -rf *.epl
rm -rf bouquets
rm -rf services
rm -rf services.locked
mv /tmp/bq/* /var/tuxbox/config/enigma/
rm -rf /tmp/bq.tar.gz
rm -rf /tmp/bq
wget -qO -
http://root:dreambox@127.0.0.1/cgi-bin/reloadSettings
wget -qO -
http://root:dreambox@127.0.0.1/cgi-b...adUserBouquets
reboot
Bookmarks