Corrected ticket #168
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jan 2006 13:16:32 +0000 (13:16 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jan 2006 13:16:32 +0000 (13:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2805 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/default/etc/init.d/S60cron

index 6647fe1..bd12b8b 100755 (executable)
@@ -1,5 +1,8 @@
 #!/bin/sh
-[ -d /etc/crontabs ] && {
+[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
+
+[ -e /var/spool/cron/crontabs ] && {
        mkdir -p /var/spool/cron
-       crond -c /etc/crontabs
+       ln -s /etc/crontabs /var/spool/cron
 }
+       crond -c /etc/crontabs
This page took 0.022731 seconds and 4 git commands to generate.