hopefully last fix for S60cron
authorolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jan 2006 20:21:33 +0000 (20:21 +0000)
committerolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jan 2006 20:21:33 +0000 (20:21 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2812 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index bd12b8b..6069b81 100755 (executable)
@@ -1,8 +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
-}
-       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
This page took 0.027426 seconds and 4 git commands to generate.