方法 1、添加rc-local.service #以下为一整条命令,一起复制运行: cat > /etc/systemd/system/rc-local.service <<EOF [Unit] Description=/etc/rc.local ConditionPathExist...