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.
我在下面尝试过,但不起作用:
1:开始(net-device-up IFACE!=lo 和运行级别 [2345])
2:在已启动的网络接口 INTERFACE=eth1 上启动
我看到仍然通过调用这些 init.d 脚本来启动网络服务,所以我怀疑 RHEL 6,对于 NIC 的启动,确实存在来自暴发户的“事件”。
有人知道吗?
我以某种方式解决了这个问题:从停止的 rc RUNLEVEL [2345] 开始
所以新贵的工作 rc(/etc/init/rc.conf) 只需通过 exec /etc/rc.d/rc $RUNLEVEL 调用所有的初始化脚本
当所有 rc 脚本完成后,所有 NIC 都已启动,并且 upstarts 中的作业“rc”确实有状态更改并发出状态。