Skip to content

Commit

Permalink
Still don't want init-scripts set up
Browse files Browse the repository at this point in the history
  • Loading branch information
ferricoxide committed Oct 23, 2024
1 parent 80cc35f commit 9e7c38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AWSutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ function InstallCfnBootstrap {
err_exit "Failed making cfn-hup service executable"

err_exit "Using alternatives to configure cfn-hup symlink and initscript..." NONE
chroot "${CHROOTMNT}" alternatives --verbose --install /opt/aws/bin/cfn-hup cfn-hup /usr/local/bin/cfn-hup 1 --initscript cfn-hup || \
err_exit "Failed configuring cfn-hup symlink and initscript"
chroot "${CHROOTMNT}" alternatives --verbose --install /opt/aws/bin/cfn-hup cfn-hup /usr/local/bin/cfn-hup 1 || \
err_exit "Failed configuring cfn-hup symlink"

err_exit "Cleaning up install files..." NONE
rm -rf "${CHROOTMNT}${TMPDIR}" || \
Expand Down

0 comments on commit 9e7c38d

Please sign in to comment.