satip-axe/fs-add/etc/init.d/crond
2015-05-23 20:46:08 +02:00

14 lines
280 B
Bash
Executable File

#!/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