Fix a wrong variable names (ifname, wan) and enhance httpd's init script by more...
[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 [ -z $(ls /etc/crontabs/) ] && exit 1
7 mkdir -p /var/spool/cron
8 [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
9 crond -c /etc/crontabs
10 }
11
12 stop() {
13 killall -9 crond
14 }
This page took 0.042819 seconds and 5 git commands to generate.