Added Amazon Linux logic to post-installation script.

closes #579
This commit is contained in:
Ross McDonald
2016-01-25 17:49:12 -07:00
committed by Cameron Sparr
parent 16540e35f1
commit 47ea2d5fb4
+7
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