1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 16:28:25 +02:00
openwrt-xburst/package/base-files/default/etc/init.d/cron
florian ed99f7ba39 Test if symbolic is already there (#886)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5442 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
}