summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-02-02 09:49:15 +0800
committerXiao Pan <xyz@flylightning.xyz>2026-02-02 09:49:15 +0800
commita247f0930c86de29e2b6efe786e7e115f7b32a89 (patch)
tree36bac773be7e84a49de483b4e1d78d67ddbe8139
parentd363898b15517064ac6d394d252cdf8394f76076 (diff)
fix: forget to change elif interface nameHEADmaster
-rwxr-xr-xetc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive b/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive
index 2972678c..c2992080 100755
--- a/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive
+++ b/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive
@@ -11,6 +11,6 @@ if [ "$1" = "enp0s20f0u1" ]; then
nmcli radio wifi on
;;
esac
-elif [ "$(nmcli -g GENERAL.STATE device show enp3s0)" = "20 (unavailable)" ]; then
+elif [ "$(nmcli -g GENERAL.STATE device show enp0s20f0u1)" = "20 (unavailable)" ]; then
nmcli radio wifi on
fi