X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=debian%2Fovs-bugtool;h=6f792eea74f9401b3760fcef302976d72967e724;hb=75ae71da6b2fe14e5d8b3e2a4c39019bf5d7ee29;hp=f991f27a232b17d40c621dd32f67b9b450d5d870;hpb=b828c2f5fa580412f7c3afae03862b9dcce6f576;p=openvswitch diff --git a/debian/ovs-bugtool b/debian/ovs-bugtool index f991f27a..6f792eea 100755 --- a/debian/ovs-bugtool +++ b/debian/ovs-bugtool @@ -114,7 +114,6 @@ CAT = '/bin/cat' DF = '/bin/df' DMESG = '/bin/dmesg' DMIDECODE = '/usr/sbin/dmidecode' -ETHTOOL = '/sbin/ethtool' FDISK = '/sbin/fdisk' FIND = '/usr/bin/find' IFCONFIG = '/sbin/ifconfig' @@ -136,6 +135,11 @@ TC = '/sbin/tc' UPTIME = '/usr/bin/uptime' ZCAT = '/bin/zcat' +ETHTOOL = '/sbin/ethtool' +# ETHTOOL recently moved from /usr/sbin to /sbin in debian +if not os.path.isfile(ETHTOOL): + ETHTOOL = '/usr/sbin/ethtool' + # # PII -- Personally identifiable information. Of particular concern are # things that would identify customers, or their network topology.