]> git.ipfire.org Git - thirdparty/systemd.git/commit - Makefile.am
udev: link-config: add ethtool support
authorTom Gundersen <teg@jklm.no>
Sat, 26 Oct 2013 16:54:16 +0000 (18:54 +0200)
committerTom Gundersen <teg@jklm.no>
Sat, 26 Oct 2013 20:09:20 +0000 (22:09 +0200)
commita501033335ed402c8f7e86fe41a15531ba69abd7
treeb5e8a1a12adaaa3168a4c0cedc40c0f584190d69
parentaf6f0d422c521374ee6a2dd92df5935a5a476ae5
udev: link-config: add ethtool support

This adds support for setting the link speed, duplex and WakeOnLan
settings.

Example:

[Link]
SpeedMBytes=100
Duplex=half
WakeOnLan=magic
Makefile.am
src/udev/net/ethtool-util.c [new file with mode: 0644]
src/udev/net/ethtool-util.h [new file with mode: 0644]
src/udev/net/link-config-gperf.gperf
src/udev/net/link-config.c
src/udev/net/link-config.h