while !(ping -c 1 [url]www.avm.de);[/url] do
sleep 5
done
sleep 30
ifconfig eth0: 192.168.1.253 netmask 255.255.255.0 up
ifconfig cpmac0: 192.168.1.253 netmask 255.255.255.0 up
ln -s /var/media/ftp/Ut165-USB2FlashStorage-00/apache/ /var/tmp/apache
/var/tmp/apache/apache -f /var/tmp/apache/conf/apache.conf
# # # # # # # # # Installation FTP-Server
cd /var/tmp
wget [url]http://www.tecchannel.de/download/fritz.box/bftpd.conf[/url]
wget [url]http://www.tecchannel.de/download/fritz.box/bftpd[/url]
chmod +x bftpd
chmod 777 bftpd.conf
echo "USER:PW:0:0:root:/var/media/ftp/Ut165-USB2FlashStorage-00/apache/htdocs/homepage/:null" >> /var/tmp/passwd
./bftpd -d -c /var/tmp/bftpd.conf