Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问题是我需要在加载驱动程序之前将文本字符串推送到 pci 总线上的 driver_override 中。
我之前确实使用 systemd 解决了这个问题,但是在 systemd 甚至启动之前加载更新驱动程序之后,所以没有运气。
驱动程序也不支持解除绑定。
有任何想法吗 ?
您可以将init=</full/path/to/script>内核参数添加到内核 cmdline 以运行脚本而不是 systemd 的 init。然后从您的脚本中启动 systemd 的 init。
init=</full/path/to/script>