joukewitteveen/netcfg — comment on commit 10a01a13d3e849e576dadd5ca39be67c632f9f3a
File: scripts/wifi-menu line 203
By joukewitteveen:

But an interface can be up without a carrier (e.g. cable). Shouldn't we be interested in /sys/class/net/$1/operstate? In that case I think the current line better reflects what is happening.

```if grep -q "up" "/sys/class/net/$1/operstate"; then```
just feels weird.