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