View Single Post
Old 01-12-2012, 09:01 AM   #114
kami51
Connoisseur
kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.kami51 is the One.
 
kami51's Avatar
 
Posts: 67
Karma: 101031
Join Date: Apr 2011
Device: 2 xPB 611, Tolino Shine
Hallo,
ich habe die befehlszeilen wget h...um die entsprechende Anzahl der Bücher erweitert, was auch nun auch super funktioniert, aber wifi schaltet sich nicht automatische ab.
Meine Fragen zu diesen script.
Fehlt ein Befehl, desweiteren wird der Download-Fortschrittsbalken nicht angezeigt.Hier mal das script:
------------------------------------------------------------
#!/bin/sh
/ebrmain/bin/netagent connect
cd /mnt/ext1/
agency=buch-$(date +%Y-%m-%d)

if [ -d myrss-tmp ]; then
rm -rf myrss-tmp;
fi

mkdir myrss-tmp;
cd myrss-tmp;

echo '<html><body>' > $agency.html

wget http://xx.de/buch/eins.epub
wget http://xx.de/buch/zwei.epub
wget http://xx.de/buch/drei.epub
wget http://xx.de/buch/vier.epub
done
echo '</body></html>' >> $agency.html
mv $agency.html /mnt/ext1/applications/tools/progressb.app
cd ..
rm -rf myrss-tmp
/ebrmain/bin/netagent disconnect

------------------------------------------------------

Welche Literatur oder welches Buch bzgl. der Programmierung von apps für das PB könnt Ihr mir empfehlen ?

Gruß Jürgen

Last edited by kami51; 01-12-2012 at 12:04 PM.
kami51 is offline   Reply With Quote