1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 14:54:39 +02:00
openwrt-xburst/package/busybox/files/cron
florian fa83d38853 Send a kill signal to cron, otherwise two instances could be running (#1923)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-22 08:47:29 +00:00

14 lines
242 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50
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 -9 crond
}