satip-axe/fs-add/etc/init.d/crond

14 lines
280 B
Plaintext
Raw Normal View History

2015-05-23 20:46:08 +02:00
#!/bin/sh
test -r /etc/sysconfig/config && . /etc/sysconfig/config
if test "$CROND" != "yes"; then
exit 0
fi
mkdir -p /var/spool/cron
mkdir /etc/sysconfig/crontabs
ln -sf /etc/sysconfig/crontabs /var/spool/cron/crontabs
exec /usr/sbin/crond -f -S -c /etc/sysconfig/crontabs