3d463d6235170e7e5628199dcf02e3979c5c86bc
[khatus.git] / x2 / src / bash / exe / khatus_sensor_net_carrier.sh
1 #! /bin/sh
2
3 for interface in $(ls /sys/class/net)
4 do
5 printf "%s|%d\n" $interface $(cat /sys/class/net/$interface/carrier 2> /dev/null)
6 done
This page took 0.069694 seconds and 5 git commands to generate.