Linux 开机自启动自定义脚本

cd /etc/rc.d/init.d/ vim autof5.sh chmod +x autof5.sh chkconfig --add autof5.sh chkconfig autof5.sh on rebootpython PS: autof5.sh shell脚本第二行必需要有,不然会报service autof5.sh does not support chkconfigweb #!/
相关文章
相关标签/搜索