From 33c4f210569537fd8f6c097c56f3db565c2a771f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 19:34:40 +0200 Subject: Adding debian version 1:6.7-1. Signed-off-by: Daniel Baumann --- debian/ethtool.if-pre-up | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 debian/ethtool.if-pre-up (limited to 'debian/ethtool.if-pre-up') diff --git a/debian/ethtool.if-pre-up b/debian/ethtool.if-pre-up new file mode 100644 index 0000000..6c1d5de --- /dev/null +++ b/debian/ethtool.if-pre-up @@ -0,0 +1,14 @@ +#!/bin/sh + +ETHTOOL=/usr/sbin/ethtool + +test -x $ETHTOOL || exit 0 + +[ "$IFACE" != "lo" ] || exit 0 + +# Gather together the mixed bag of settings applied with -s/--change +SETTINGS="\ +${IF_ETHERNET_PORT:+ port $IF_ETHERNET_PORT}\ +${IF_DRIVER_MESSAGE_LEVEL:+ msglvl $IF_DRIVER_MESSAGE_LEVEL}\ +" +[ -z "$SETTINGS" ] || $ETHTOOL --change "$IFACE" $SETTINGS -- cgit v1.2.3