Improve usage of external www folder . Copy over internet detection

This commit is contained in:
Matthias Strubel 2013-01-02 20:09:29 +01:00
parent 8af989f021
commit a4cdb62981

View file

@ -56,6 +56,9 @@ if [ $2 = 'init_openwrt' ] ; then
echo "----------------------------------------------------"
mv $WWW_FOLDER $PIRATEBOX_FOLDER/www_old
ln -sf $pb_usbdir/www_alt $WWW_FOLDER
echo " Copy over >>fake internet detection-stuff<<"
cp -v $PIRATEBOX_FOLDER/www_old/ncsi.txt $pb_usbdir/www_alt
cp -rv $PIRATEBOX_FOLDER/www_old/library $pb_usbdir/www_alt
echo " Done. Now, you are on your own! "
fi
fi