diff --git a/skel-root/armbox/hd51/etc/init.d/crond b/archive-imagefiles/scripts/crond.init old mode 100755 new mode 100644 similarity index 100% rename from skel-root/armbox/hd51/etc/init.d/crond rename to archive-imagefiles/scripts/crond.init diff --git a/make/system-scripts.mk b/make/system-scripts.mk index 6db4fcb8..2978f8ea 100644 --- a/make/system-scripts.mk +++ b/make/system-scripts.mk @@ -15,6 +15,9 @@ init-helpers: $(ETCINITD) init-hostname: $(ETCINITD) install -m 0755 $(IMAGEFILES)/scripts/hostname.init $(ETCINITD)/hostname +init-crond: $(ETCINITD) + install -m 0755 $(IMAGEFILES)/scripts/crond.init $(ETCINITD)/crond + init-camd: $(ETCINITD) install -m 0755 $(IMAGEFILES)/scripts/camd.init $(ETCINITD)/camd install -m 0755 $(IMAGEFILES)/scripts/camd_datefix.init $(ETCINITD)/camd_datefix diff --git a/skel-root/coolstream/hd1/etc/init.d/crond b/skel-root/coolstream/hd1/etc/init.d/crond deleted file mode 100755 index 366d2fd4..00000000 --- a/skel-root/coolstream/hd1/etc/init.d/crond +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -. /etc/init.d/globals - -case $1 in - start) - if [ -e /var/etc/.crond ]; then - crond - fi - ;; - stop) - if [ -e /var/etc/.crond ]; then - trap "" INT - kill -INT $(pidof crond) - fi - ;; - *) - echo "[$BASENAME] Usage: $0 {start|stop}" - ;; -esac diff --git a/skel-root/coolstream/hd2/etc/init.d/crond b/skel-root/coolstream/hd2/etc/init.d/crond deleted file mode 100755 index 366d2fd4..00000000 --- a/skel-root/coolstream/hd2/etc/init.d/crond +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -. /etc/init.d/globals - -case $1 in - start) - if [ -e /var/etc/.crond ]; then - crond - fi - ;; - stop) - if [ -e /var/etc/.crond ]; then - trap "" INT - kill -INT $(pidof crond) - fi - ;; - *) - echo "[$BASENAME] Usage: $0 {start|stop}" - ;; -esac