busybox: oops, accidently removed cron support in 2a80b33c0. sry

This commit is contained in:
Stefan Saraev 2013-01-26 17:24:27 +02:00
parent 3a0a58f003
commit 30c4121a0c

View File

@ -71,3 +71,12 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
mkdir -p $INSTALL/usr/www/error
echo "404" > $INSTALL/usr/www/error/404.html
# cron support
if [ "$CRON_SUPPORT" = "yes" ] ; then
mkdir -p $INSTALL/etc/init.d
cp $PKG_DIR/scripts/09_crond $INSTALL/etc/init.d/
else
rm -f $INSTALL/sbin/crond
rm -f $INSTALL/bin/crontab
fi