blob: 9b9b748bfd816d19c18b514be01b19de991c38cf [file] [log] [blame]
#!/bin/sh
IFPATH="/sys/class/net/$1/ifindex"
if [ ! -f "${IFPATH}" ]
then
echo Error: "${IFPATH}" does not exist 1>&2
exit 2
fi
shift
ncsi-netlink -x "$(cat "${IFPATH}")" "$@"