有谁知道为什么deepin启动后不加载/etc/profile?为什么这样搞
Tofloor
poster avatar
qq1037758521qq
deepin
2020-03-29 10:17
Author
所有系统级启动相关的sh都放在/etc/profile.d/里,启动不加载/etc/rpofile怎么搞?
别说什么~/.bashrc, ~/.zshrc

Reply Favorite View the author
All Replies
avatar
neko
deepin
Ecological co-builder
Q&A Team
2020-03-29 16:15
#1
不知道你的为什么不加载,我的是正常的/etc/profile
Reply View the author
avatar
hellogitee
deepin
2020-03-29 19:58
#2
我还以为就我一个启动不了,
之前我按照deepin wiki 说明里配置开启启动程序的方法配置的的 mysql 开机启动脚本 前天没有执行今天我直接换成systemctl 启动了
Reply View the author
avatar
星外之神
deepin
2020-03-29 21:05
#3
没问题啊      
Reply View the author
avatar
qq1037758521qq
deepin
2020-03-29 21:45
#4
https://bbs.deepin.org/post/190252
不知道你的为什么不加载,我的是正常的/etc/profile

你没有设置相关的配置吗,我的从一开始就这样
Reply View the author
Comments
hellogitee
2020-03-29 23:49
我之前没用过Linux,过年被关在家里了,就把留在家里的老电脑装了个deepin,我电脑也就安装了下jdk,mysql,idea. 没怎么折腾,也不会折腾
avatar
qq1037758521qq
deepin
2020-03-29 21:47
#5
https://bbs.deepin.org/post/190252
我还以为就我一个启动不了,
之前我按照deepin wiki 说明里配置开启启动程序的方法配置的的 mysql 开机 ...

后来想在/etc/init.d里加脚本刷下啊/etc/profile,然后发现init.d里的脚本也没反应
Reply View the author
avatar
qq1037758521qq
deepin
2020-03-29 21:47
#6
https://bbs.deepin.org/post/190252
我还以为就我一个启动不了,
之前我按照deepin wiki 说明里配置开启启动程序的方法配置的的 mysql 开机 ...

后来想在/etc/init.d里加脚本刷下啊/etc/profile,然后发现init.d里的脚本也没反应
Reply View the author
avatar
qq1037758521qq
deepin
2020-03-29 21:51
#7
本帖最后由 qq1037758521qq 于 2020-3-29 13:55 编辑
https://bbs.deepin.org/post/190252
我还以为就我一个启动不了,
之前我按照deepin wiki 说明里配置开启启动程序的方法配置的的 mysql 开机 ...
我的都是一堆简单的脚本,用systemctl大材小用了啊
Reply View the author
avatar
qq1037758521qq
deepin
2020-04-01 05:48
#8
结贴,找到一个17年的帖子,解决了
https://bbs.deepin.org/post/147762
Reply View the author
avatar
吉王义昊
deepin
2020-04-01 16:36
#9
https://bbs.deepin.org/post/190252
结贴,找到一个17年的帖子,解决了
https://bbs.deepin.org/post/147762 ...

结贴了可以改一下贴子的标题,方便别人查找
Reply View the author
avatar
luzhishen
deepin
2020-04-01 17:13
#10
我昨天看我的/etc/profile,发现里面是空的
Reply View the author
avatar
Feng Yu
deepin
2020-04-01 18:55
#11
这是对的,完全符合期望。国内的资料一个抄一个误导人的
Reply View the author