From 47ea2d5fb468f356f634bd84f8403639d11f6464 Mon Sep 17 00:00:00 2001 From: Ross McDonald Date: Mon, 25 Jan 2016 15:19:51 -0600 Subject: [PATCH] Added Amazon Linux logic to post-installation script. closes #579 --- scripts/post-install.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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