nameyu8023 发表于 2017-5-26 13:23

deepin 开机启动

deepin linux 怎么弄开机启动?
网上说   rc.d/
我实在没找到 啊只看到rc0 ~ rc6
小白好么~~~
各位给提点下。
谢谢。
ngrain@ngrain-PC:~$ ls -l /etc |grep "rc"
-rw-r--r--1 root root   1863 5月24 11:52 bash.bashrc
-rw-r--r--1 root root   4479 5月24 11:52 drirc
-rw-r--r--1 root root   1748 5月24 11:52 inputrc
-rw-r--r--1 root root   8769 5月24 11:52 nanorc
drwxr-xr-x2 root root   4096 5月24 11:57 ODBCDataSources
drwxr-xr-x2 root root   4096 5月24 13:11 rc0.d
drwxr-xr-x2 root root   4096 5月24 13:11 rc1.d
drwxr-xr-x2 root root   4096 5月24 13:11 rc2.d
drwxr-xr-x2 root root   4096 5月24 13:11 rc3.d
drwxr-xr-x2 root root   4096 5月24 13:11 rc4.d
drwxr-xr-x2 root root   4096 5月24 13:11 rc5.d
drwxr-xr-x2 root root   4096 5月24 13:11 rc6.d
drwxr-xr-x2 root root   4096 5月24 11:52 rcS.d
-rw-r--r--1 root root   4942 5月24 11:52 wgetrc
ngrain@ngrain-PC:~$


zylyye 发表于 2017-6-5 21:49

sudo systemctl enable 你要开机启动的服务

或者找/etc/rc.local 把开机启动的脚本写进去
或者你要是图形界面启动的话就在rc5.d/里添加   文字界面启动就在/etc/rc3.d/里添加呗,应该差不多是这样{:9_378:}

zylyye 发表于 2017-6-5 21:59

sudo systemctl enable 你要开机启动的服务,不是服务的话,试着找/etc/rc.local,在里面添加开机启动的脚本,再或者直接在rc3.d/里面添加,图形界面启动的话在rc5.d/里面添加,应该就是这样{:9_371:}
页: [1]
查看完整版本: deepin 开机启动