Added Amazon Linux logic to post-installation script.

closes #579
This commit is contained in:
Ross McDonald 2016-01-25 15:19:51 -06:00 committed by Cameron Sparr
parent 16540e35f1
commit 47ea2d5fb4
1 changed files with 7 additions and 0 deletions

View File

@ -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