projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
upgrade bridge-utils to v1.4
[oweals/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
}