diff --git a/install-bridgehead.sh b/install-bridgehead.sh index b8b694a..df070c7 100755 --- a/install-bridgehead.sh +++ b/install-bridgehead.sh @@ -9,12 +9,6 @@ source site.conf echo "Installing bridgehead" -if [ -z "$BRIDGEHEAD_PATH" ] ; then - echo "BRIDGEHEAD_PATH=${PWD}" >> /etc/environment - echo "Please reboot the system to properly set the enviroment" - exit -fi - _systemd_path=/etc/systemd/system/ diff --git a/uninstall-bridgehead.sh b/uninstall-bridgehead.sh index 380313b..a8f7b78 100755 --- a/uninstall-bridgehead.sh +++ b/uninstall-bridgehead.sh @@ -6,8 +6,6 @@ systemctl stop bridgehead@"${project}".service systemctl stop bridgehead-update@"${project}".timer systemctl stop bridgehead-update@"${project}".service -sed -i -e "s|BRIDGEHEAD_PATH=.*||" /etc/environment - cd /etc/systemd/system/ rm bridgehead\@.service rm bridgehead-update\@.timer