Commit bca5e217 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-alpine: fix backwards compat for cron

the crond service was previously named 'cron'. support both for
backwards compat.
parent 2218e13c
......@@ -146,8 +146,11 @@ fi
rc-update --quiet add networking boot
rc-update --quiet add urandom boot
rc-update --quiet add acpid
rc-update --quiet add crond
for svc in acpid cron crond; do
if rc-service --exists $svc; then
rc-update --quiet add $svc
# enable new hostname
/etc/init.d/hostname --quiet restart
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment