diff options
Diffstat (limited to 'target/device/valka/target_skeleton/etc/rc.d/crond')
-rwxr-xr-x | target/device/valka/target_skeleton/etc/rc.d/crond | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/device/valka/target_skeleton/etc/rc.d/crond b/target/device/valka/target_skeleton/etc/rc.d/crond deleted file mode 100755 index ef1b7fee0..000000000 --- a/target/device/valka/target_skeleton/etc/rc.d/crond +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/ash -. /etc/rc.subr - -start() { - echo -n " * Starting crond: " - if [ ! -x ${crond_program} ]; then - log_error "Missing 'crond' program (${crond_program})" - echo "Failed" - return 1 - fi - - ${crond_program} -f -c ${crond_dir} ${crond_flags} & - pid=$! - if [ "$?" -eq 0 ]; then - echo "${pid}" > ${crond_pidfile} - echo "Ok" - else - echo "Failed" - fi -} - -stop() { - echo " * Stopping crond..." - killpid ${crond_pidfile} -} - -rc_run_command "$1" "crond" |