projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added mrd6 package : IPv6 multicast routing daemon
[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.02167 seconds
and
4
git commands to generate.