由于/etc/rc.local是/etc/rc.d/rc.local的软连接,所以必须确保/etc/rc.local和/etc/rc.d/rc.local都有x权限(可执行),因此只使用方法二更改是不可以的。
CentOS7启动报错:“A start job is running for /etc/rc.d/rc.local compatibility”的解决办法
最新推荐文章于 2024-05-15 08:27:50 发布
由于/etc/rc.local是/etc/rc.d/rc.local的软连接,所以必须确保/etc/rc.local和/etc/rc.d/rc.local都有x权限(可执行),因此只使用方法二更改是不可以的。