massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
[openwrt.git] / package / busybox / files / cron
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 start () {
6 loglevel=$(uci_get "system.@system[0].cronloglevel")
7 [ -z "$(ls /etc/crontabs/)" ] && exit 1
8 mkdir -p /var/spool/cron
9 ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null
10 crond -c /etc/crontabs -l ${loglevel:-5}
11 }
12
13 stop() {
14 killall -9 crond
15 }
This page took 0.066692 seconds and 5 git commands to generate.