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 #!/
相關文章
相關標籤/搜索