From 9e7c38d0a3aa3066920e9b65a9d9797e84b0ac32 Mon Sep 17 00:00:00 2001 From: Thomas H Jones II Date: Wed, 23 Oct 2024 06:57:11 -0400 Subject: [PATCH] Still don't want init-scripts set up --- AWSutils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AWSutils.sh b/AWSutils.sh index 7f6beb2..8237d54 100755 --- a/AWSutils.sh +++ b/AWSutils.sh @@ -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}" || \