84366992 发表于 2018-5-5 09:04:48

ubuntu修改开机启动项

  Recently I am busy,and haven't time to write something.I always want to learn some new knowledge.But I can slove it by search on internet when i happen to troubles.Maybe someone already think the problem is so easy. Does anyone master grow from a primary.
  1、watch your boot level
  

#runlevel  this result will display a runlevel,if it return 2 means configration in /etc/rc2.d

  

  2、check your boot service.
  ls /etc/rc2.d/
  

  display all boot service on runlevel 2
  

  3、if you wantsome services don't startwhen opening.you use this command.
  update-rc.d

  4、only don't start on runlevel 2
sudo mv S20postfix K20postfix  

  5、add a service on some runlevel
  

  ln -s postfix /etc/rc2.d/S20postfix
  

  

  

  

  
页: [1]
查看完整版本: ubuntu修改开机启动项