[package] firewall: prevent redundant rules if multiple ports and multiple icmp types...
[openwrt.git] / package / busybox / files / cron
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3 START=50
4
5 PATH="/bin:/sbin:/usr/bin:/usr/sbin"
6
7 start () {
8 loglevel=$(uci_get "system.@system[0].cronloglevel")
9 [ -z "$(ls /etc/crontabs/)" ] && exit 1
10 mkdir -p /var/spool/cron
11 ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null
12 crond -c /etc/crontabs -l ${loglevel:-5}
13 }
14
15 stop() {
16 killall -9 crond
17 }
This page took 0.050984 seconds and 5 git commands to generate.