如何在启动时以 sudo 身份运行脚本?
我需要运行ethtool --offload <net> rx off以禁用烦人的 jme udp 校验和错误消息。
ethtool --offload <net> rx off
scripts 18.04
18.04 ×1
scripts ×1