projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22b22b
)
If /var/spool/cron/crontabs is a directory, then /etc/init.d/cron will place a spurio...
author
Florian Fainelli
<florian@openwrt.org>
Sun, 21 Mar 2010 17:16:41 +0000
(17:16 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 21 Mar 2010 17:16:41 +0000
(17:16 +0000)
SVN-Revision: 20354
package/busybox/files/cron
patch
|
blob
|
history
diff --git
a/package/busybox/files/cron
b/package/busybox/files/cron
index aa538969be2aab12b7362fe8938c8e289fa8a85b..2e020bbc629a9995eb7be7b98359dac9cc6965ff 100755
(executable)
--- a/
package/busybox/files/cron
+++ b/
package/busybox/files/cron
@@
-6,7
+6,7
@@
start () {
loglevel=$(/sbin/uci get "system.@system[0].cronloglevel" 2>/dev/null)
[ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron
- [ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
+ ln -s /etc/crontabs /var/spool/cron/ 2>/dev/null
crond -c /etc/crontabs -l ${loglevel:-5}
}