add protection for bridging interface changes
[openwrt.git] / package / base-files / default / etc / init.d / S60cron
index ed43e74..a450c36 100755 (executable)
@@ -1,2 +1,12 @@
-#!/bin/sh
-[ -d /etc/crontabs ] && crond -c /etc/crontabs
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+start () {
+       mkdir -p /var/spool/cron
+       ln -s /etc/crontabs /var/spool/cron/crontabs
+       crond -c /etc/crontabs
+}
+
+stop() {
+       killall crond
+}
This page took 0.023895 seconds and 4 git commands to generate.