use /tmp/resolv.conf when using a static nameserver (#177)
[openwrt.git] / 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
 #!/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.027542 seconds and 4 git commands to generate.