projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix static domain wildcards in dnsmasq (broken by upgrade to 2.26)
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
init.d
/
S60cron
diff --git
a/package/base-files/default/etc/init.d/S60cron
b/package/base-files/default/etc/init.d/S60cron
index
ed43e74
..
6069b81
100755
(executable)
--- a/
package/base-files/default/etc/init.d/S60cron
+++ b/
package/base-files/default/etc/init.d/S60cron
@@
-1,2
+1,6
@@
#!/bin/sh
-[ -d /etc/crontabs ] && crond -c /etc/crontabs
+[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
+[ -e /var/spool/cron/crontabs ] || {
+ mkdir -p /var/spool/cron
+ ln -s /etc/crontabs /var/spool/cron/crontabs
+} && crond -c /etc/crontabs
This page took
0.024104 seconds
and
4
git commands to generate.