projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected ticket #168
[openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
etc
/
init.d
/
S60cron
diff --git
a/openwrt/package/base-files/default/etc/init.d/S60cron
b/openwrt/package/base-files/default/etc/init.d/S60cron
index
6647fe1
..
bd12b8b
100755
(executable)
--- a/
openwrt/package/base-files/default/etc/init.d/S60cron
+++ b/
openwrt/package/base-files/default/etc/init.d/S60cron
@@
-1,5
+1,8
@@
#!/bin/sh
#!/bin/sh
-[ -d /etc/crontabs ] && {
+[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
+
+[ -e /var/spool/cron/crontabs ] && {
mkdir -p /var/spool/cron
mkdir -p /var/spool/cron
- crond -c /etc/crontabs
+ ln -s /etc/crontabs /var/spool/cron
}
}
+ crond -c /etc/crontabs
This page took
0.024166 seconds
and
4
git commands to generate.