Merge branch 'version-1' into martinsFixes

This commit is contained in:
Patrick Skowronek
2022-05-10 09:16:47 +02:00
7 changed files with 33 additions and 24 deletions

View File

@@ -3,12 +3,12 @@
source lib/functions.sh
if [ $# -eq 0 ]; then
echo "Please provide a Project as argument"
log "Please provide a Project as argument"
exit 1
fi
if [ $1 != "ccp" ] && [ $1 != "nngm" ] && [ $1 != "gbn" ]; then
echo "Please provide a supported project like ccp, gbn or nngm"
log "Please provide a supported project like ccp, gbn or nngm"
exit 1
fi
@@ -16,7 +16,7 @@ export project=$1
#checkRequirements // not needed when uninstalling
echo "Stopping systemd services and removing bridgehead ..."
log "Stopping systemd services and removing bridgehead ..."
systemctl disable --now bridgehead@${project}.service bridgehead-update@${project}.timer bridgehead-update@${project}.service