Update install scripts and prereqs (sudo)

This commit is contained in:
Martin Lablans
2022-09-30 15:25:09 +02:00
parent 4c84d65548
commit 7692c4e889
5 changed files with 37 additions and 11 deletions

View File

@@ -16,6 +16,10 @@ export PROJECT=$1
#checkRequirements // not needed when uninstalling
log INFO "Removing bridgehead sudoers permissions."
rm -vf /etc/sudoers.d/bridgehead-${PROJECT}
log "INFO" "Stopping system units and removing bridgehead for ${PROJECT} ..."
systemctl disable --now bridgehead@${PROJECT}.service bridgehead-update@${PROJECT}.timer bridgehead-update@${PROJECT}.service