projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Send a kill signal to cron, otherwise two instances could be running (#1923)
[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
mkdir -p /var/spool/cron
7
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
8
crond -c /etc/crontabs
9
}
10
11
stop() {
12
killall -9 crond
13
}