openwrt/package/base-files/default/etc/init.d/cron
Florian Fainelli e410cb37bf Test if symbolic is already there (#886)
SVN-Revision: 5442
2006-11-04 12:47:45 +00:00

13 lines
230 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
start () {
mkdir -p /var/spool/cron
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs
}
stop() {
killall crond
}