红帽操作系统设置开机自执行脚本

vi restarnetwork.sh
chmod 755 restart_network.sh
cat >> /etc/rc.d/rc.local
/bin/sh /root/restart_network.sh

猜你喜欢

转载自blog.csdn.net/hezuijiudexiaobai/article/details/121390821