Files
Eric Nemchik 860b518c74 standard cron
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-07-30 01:15:12 -05:00

12 lines
395 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if ! builtin command -v busybox >/dev/null; then
echo "**** Adding busybox to package install list ****"
echo "busybox" >>/mod-repo-packages-to-install.list
fi
if [[ -f /usr/bin/apt ]] && [[ ! -f /usr/sbin/cron ]]; then
echo "**** Adding cron to package install list ****"
echo "cron" >>/mod-repo-packages-to-install.list
fi