Hello,
I have downloaded right now your file. Then I have moved on my book, change group and user to root.
After run it I got always the same error. I don' think this is because the file is truncated, because it looks that it ends fine.
These are the last lines included of your file from 350 t0 358
if [ ! -e /opt/etc/logrotate.conf.org ] ; then
cp -p /opt/etc/logrotate.conf /opt/etc/logrotate.conf.org
sed -i -e "s/\/bin\/killall syslogd/#\/bin\/killall syslogd/" /opt/etc/logrotate.conf
sed -i -e "s/\/bin\/killall klogd/#\/bin\/killall klogd/" /opt/etc/logrotate.conf
fi
/opt/etc/init.d/S10cron
echo -e "Script finished!!\nYou can now fully use optware if you login again...\nI advice a reboot!\n"
And thinsert the code here
is is always the same error that I got:
~ #
~ # . ./prep_whitelight.sh
: not found_whitelight.sh: 8:
-sh
Written on: Mon Aug 3 22:45:20 CEST 2009
If you're giving feedback, please post the version as well
: not found_whitelight.sh: 11:
-sh: ./prep_whitelight.sh: 359: Syntax error: end of file unexpected (expecting "then")
~ #
If you want I can upload this file on your server in order that u can have a look to it.