Tiny Core Base > TCB Bugs

cron start at boot

(1/1)

robc:
tc-config uses the following to start cron:
--- Code: ---if [ -n "$CRON" ]; then
  /usr/sbin/crond
  if [ "$?" == 0 ]; then echo " ${GREEN}cron started.${NORMAL}"; fi
fi
--- End code ---
I think this should be changed to:
--- Code: ---if [ -n "$CRON" ]; then
  /etc/init.d/crond start
fi
--- End code ---

Starting cron the way tc-config does disregards any options that are set in /etc/init.d/crond.
It may be a good idea to start cron after bootlocal so the crontabs and and changes to /etc/init.d/crond are used. Also this would allow remasters to still use the cron bootcode and use the options set in /etc/init.d/crond without the need to use a backup or bootlocal.

roberts:
Change request accepted. crond start will be moved as was discussed for sshd.

Navigation

[0] Message Index

Go to full version