Skip to content

Commit

Permalink
Added Amazon Linux logic to post-installation script.
Browse files Browse the repository at this point in the history
closes #579
  • Loading branch information
Ross McDonald authored and sparrc committed Jan 26, 2016
1 parent 16540e3 commit 47ea2d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 47ea2d5

Please sign in to comment.