mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-16 18:21:24 +01:00
fix: install.sh: avoid call of netbird executable after rpm installation (#2589)
This commit is contained in:
parent
170e842422
commit
33c9b2d989
@ -300,11 +300,13 @@ install_netbird() {
|
|||||||
echo "package_manager=$PACKAGE_MANAGER" | ${SUDO} tee "$CONFIG_FILE" > /dev/null
|
echo "package_manager=$PACKAGE_MANAGER" | ${SUDO} tee "$CONFIG_FILE" > /dev/null
|
||||||
|
|
||||||
# Load and start netbird service
|
# Load and start netbird service
|
||||||
if ! ${SUDO} netbird service install 2>&1; then
|
if [ "$PACKAGE_MANAGER" != "rpm-ostree" ]; then
|
||||||
echo "NetBird service has already been loaded"
|
if ! ${SUDO} netbird service install 2>&1; then
|
||||||
fi
|
echo "NetBird service has already been loaded"
|
||||||
if ! ${SUDO} netbird service start 2>&1; then
|
fi
|
||||||
echo "NetBird service has already been started"
|
if ! ${SUDO} netbird service start 2>&1; then
|
||||||
|
echo "NetBird service has already been started"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user