projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f0e67
)
hopefully last fix for S60cron
author
Oliver Ertl
<
[email protected]
>
Mon, 2 Jan 2006 20:23:31 +0000
(20:23 +0000)
committer
Oliver Ertl
<
[email protected]
>
Mon, 2 Jan 2006 20:23:31 +0000
(20:23 +0000)
SVN-Revision: 2813
openwrt/package/base-files/default/etc/init.d/S60cron
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/init.d/S60cron
b/openwrt/package/base-files/default/etc/init.d/S60cron
index ee821282e0352821a1e33b4e337615cc1d3b3a54..6069b8177e01e9cc422eede862d1f3e922104242 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/init.d/S60cron
+++ b/
openwrt/package/base-files/default/etc/init.d/S60cron
@@
-1,6
+1,6
@@
#!/bin/sh
[ -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
+[ -e /var/spool/cron/crontabs ]
||
{
+
mkdir -p /var/spool/cron
+
ln -s /etc/crontabs /var/spool/cron/crontabs
+}
&&
crond -c /etc/crontabs