给 /etc/rc.d/rc.local 可执行权限:
chmod +x /etc/rc.d/rc.local
开启 rc-local.service 服务:
systemctl enable rc-local.service
systemctl start rc-local.service
转载于:https://blog.51cto.com/libao2235/1660552
给 /etc/rc.d/rc.local 可执行权限:
chmod +x /etc/rc.d/rc.local
开启 rc-local.service 服务:
systemctl enable rc-local.service
systemctl start rc-local.service
转载于:https://blog.51cto.com/libao2235/1660552