mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-19 08:17:01 +02:00
fix: install.sh: avoid call of netbird executable after rpm installation (#2589)
This commit is contained in:
parent
170e842422
commit
33c9b2d989
@ -300,12 +300,14 @@ install_netbird() {
|
||||
echo "package_manager=$PACKAGE_MANAGER" | ${SUDO} tee "$CONFIG_FILE" > /dev/null
|
||||
|
||||
# Load and start netbird service
|
||||
if [ "$PACKAGE_MANAGER" != "rpm-ostree" ]; then
|
||||
if ! ${SUDO} netbird service install 2>&1; then
|
||||
echo "NetBird service has already been loaded"
|
||||
fi
|
||||
if ! ${SUDO} netbird service start 2>&1; then
|
||||
echo "NetBird service has already been started"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
echo "Installation has been finished. To connect, you need to run NetBird by executing the following command:"
|
||||
|
Loading…
x
Reference in New Issue
Block a user