Browse Source

fix sudo nmcli

main
pvincent 9 months ago
parent
commit
fe0522e56c
  1. 2
      lib/install.sh

2
lib/install.sh

@ -304,7 +304,7 @@ function miaou_resolver() {
sudo cp "$MIAOU_BASEDIR/templates/network-manager/50-miaou-resolver" /etc/NetworkManager/dispatcher.d/
sudo chmod +x /etc/NetworkManager/dispatcher.d/50-miaou-resolver
ACTIVE_CONNECTION=$(nmcli -g NAME connection show --active | head -n1)
nmcli connection up "$ACTIVE_CONNECTION" &>/dev/null
sudo nmcli connection up "$ACTIVE_CONNECTION" &>/dev/null
PREFIX="" echoinfo OK
else
echo "miaou-resolver in NetworkManager dispatcher already initialized!"

Loading…
Cancel
Save