ubuntu下/etc/rc.local和/etc/init.d/rc.local的区别

  在ubuntu下要把一个程序加入开机启动,通常能够经过修改rc.local来完成,但ubuntu下有两个rc.local文件。分别是/etc/rc.local和/etc/init.d/rc.local。能够看一下两个文件的内容找到他俩的关系:    /etc/init.d/rc.localweb  #! /bin/sh ### BEGIN INIT INFO # Provides: rc.lo
相关文章
相关标签/搜索