diff --git a/scripts/post-install.sh b/scripts/post-install.sh index bb4803f8d..4f11fe8f6 100644 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -66,4 +66,11 @@ elif [[ -f /etc/debian_version ]]; then install_init install_update_rcd fi +elif [[ -f /etc/os-release ]]; then + source /etc/os-release + if [[ $ID = "amzn" ]]; then + # Amazon Linux logic + install_init + install_chkconfig + fi fi