/etc/rc.local 重启无效
Tofloor
poster avatar
chaleaoch
deepin
2016-05-22 21:21
Author
我在rc.local 添加如下命令
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/bin/lantern
exit 0


并手动测试:
bash /etc/rc.local
有效

但是重启的时候感觉这条命令是无效的。

论坛里搜了一下。有的解决了,有的没解决。我也没找到适合我的解决方案。
请菊苣帮忙看一下。


Reply Favorite View the author
All Replies
avatar
Lyvnee
deepin
2016-05-23 02:55
#1
本帖最后由 Lyvnee 于 2016-5-22 19:41 编辑

图形界面程序 编写 xxx.desktop   放到 ~/.config/autostart  开机自启
Reply View the author