busybox: crond & crontab symlinks still have to be removed

the new settings addon checks for /sbin/crond existence
    to decide whether cron support is there or not, so symlinks
    have to be removed
This commit is contained in:
Stefan Saraev 2013-01-26 17:52:18 +02:00
parent fb449ea2bd
commit 682f755dcd

View File

@ -71,3 +71,9 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
mkdir -p $INSTALL/usr/www/error mkdir -p $INSTALL/usr/www/error
echo "404" > $INSTALL/usr/www/error/404.html echo "404" > $INSTALL/usr/www/error/404.html
# cron support
if [ ! "$CRON_SUPPORT" = "yes" ] ; then
rm -f $INSTALL/sbin/crond
rm -f $INSTALL/bin/crontab
fi