make_ethtool_modes_h.sh: apply anti-bashism
authorDaniel Golle <daniel@makrotopia.org>
Thu, 31 Aug 2023 23:56:35 +0000 (00:56 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 31 Aug 2023 23:56:35 +0000 (00:56 +0100)
commit1a07f1dff32b3af49e39533e33e8964b59535662
treefbdb639e2bb3e81a7969480ae197e96bedf514d7
parentf429bd94f99e55548bf4fa8156c165017ce3c41c
make_ethtool_modes_h.sh: apply anti-bashism

Use 'printf' instead of 'echo -e' and use 'sed' instead of 'cut' to be
compatible with shells other than bash and not require cut.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
make_ethtool_modes_h.sh