linux设置开机自动运行sh脚本

要开机运行只需将它加入到 rc.local ,通常为/etc/rc.d/rc.local或/etc/rc.d/rc.sysinit在其中加入如下行:it sh /mnt/yaffs/test.shtest 或者 sudo /mnt/yaffs/test.shsudo 或者 cd /mnt/yaffs/yaf ./test.sh
相关文章
相关标签/搜索