busybox: cron support is optional. don't install crond init by default

This commit is contained in:
Stefan Saraev 2013-07-21 20:10:39 +03:00
parent 3e65a4d3a0
commit ed80b6a151
2 changed files with 6 additions and 0 deletions

View File

@ -78,3 +78,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
mkdir -p $INSTALL/etc/init.d
cp $PKG_DIR/scripts/09_crond $INSTALL/etc/init.d/
fi