This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
This script file will disable wifi once an ethernet cable is plugged in. It has been tested on various Debian & Mint distributions. Network Manager Create /etc/NetworkManager/dispatcher.d/99-wlan and add the following contents to it: #!/bin/bash wired_interfaces="en.*|eth.*" if [[ "$1" =~ $wired_interfaces ]]; then case "$2" in up) nmcli radio wifi off ;; down) nmcli radio wifi on ;; esac fi Set…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.