Skip to content

Commit

Permalink
Do like mainline way of naming things: ff540000.ethernet
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan authored Aug 30, 2017
1 parent 41f1123 commit 25d1372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/root/etc/network/if-up.d/rock64-offload
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ ETHTOOL=/sbin/ethtool

test -x $ETHTOOL || exit 0

[ -d "/sys/devices/platform/ff540000.eth/net/$IFACE" ] || exit 0
[ -d "/sys/devices/platform/ff540000.eth/net/$IFACE" ] || [ -d "/sys/devices/platform/ff540000.ethernet/net/$IFACE" ] || exit 0

$ETHTOOL -K "$IFACE" rx off tx off

0 comments on commit 25d1372

Please sign in to comment.