projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a package metadata parsing bug
[openwrt-10.03/.git]
/
package
/
busybox
/
files
/
cron
diff --git
a/package/busybox/files/cron
b/package/busybox/files/cron
index cf0f725d3e23b587bb053ac2c0dde5a6c80dd899..f24713060841aaa413da2486595efab234db75cf 100755
(executable)
--- a/
package/busybox/files/cron
+++ b/
package/busybox/files/cron
@@
-3,11
+3,12
@@
START=50
start () {
+ [ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs
}
stop() {
- killall crond
+ killall
-9
crond
}