diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2026-02-02 09:49:15 +0800 |
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2026-02-02 09:49:15 +0800 |
| commit | a247f0930c86de29e2b6efe786e7e115f7b32a89 (patch) | |
| tree | 36bac773be7e84a49de483b4e1d78d67ddbe8139 | |
| parent | d363898b15517064ac6d394d252cdf8394f76076 (diff) | |
| -rwxr-xr-x | etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive | 2 |
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 |
