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