[package] busybox: add myself as maintainer
[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=$(/sbin/uci get "system.@system[0].cronloglevel" 2>/dev/null)
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.044293 seconds and 5 git commands to generate.