]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/generate-arphrd-list.sh
Merge pull request #6851 from keszybz/fix-masking-with-empty-files
[thirdparty/systemd.git] / src / basic / generate-arphrd-list.sh
CommitLineData
86b3ca7a 1#!/bin/sh -eu
5c23128d 2
9cc0e6e9 3$1 -dM -include net/if_arp.h - </dev/null | \
b884196c
ZJS
4 awk '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \
5 sed -e 's/ARPHRD_//'