Cleaning up ethtool execution code