mac80211: fix a typo in the mac80211.sh
[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 [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
10 crond -c /etc/crontabs -l ${loglevel:-5}
11 }
12
13 stop() {
14 killall -9 crond
15 }
This page took 0.049395 seconds and 5 git commands to generate.