Code:
echo 'PLEASE WAIT WHILE BOUQUETS ARE UPDATED'
wget http://www.darmeth.com/downloads/Darmeth_Motor_45E-30W.zip -O /tmp/Darmeth_Motor_45E-30W.zip > /dev/null
rm -rf /etc/enigma2/lamedb5 > /dev/null
unzip -o /tmp/Darmeth_Motor_45E-30W.zip -d /etc/enigma2 > /dev/null
wget -qO - http://127.0.0.1/web/servicelistreload?mode=0 > /dev/null
echo 'CLEANING /tmp FOLDER'
rm -rf /tmp/Darmeth_Motor_45E-30W.zip > /dev/null
echo 'DARMETH BOUQUETS UPDATED'
exit 0
A couple of observations:
1. sleep 1 or sleep 1s not accepted when running from the box. Return says 'Sleep: Invalid number '1'
2. Init 3/4 not accepted when running from the box and behaves as if I’ve typed in: Init —help.
3. Did edit via Dreamboxedit and no changes seen in bouquets until pressing the 'Restart Enigma2' button. (This has always been the case BTW)
I’ve run the script from both the box and via Telnet and have seen the bouquet files update in /etc/enigma2. Init/restart/reboot has no effect on loading the new settings! FTP’d files from abu baniaz to /tmp and tried that; same effect.
I’m on technomate twin-4k running 5.0.020
So…why does this work for you guys but not me?! :-)