debian9没有/etc/rc.local了吗?
debian吧
全部回复
仅看楼主
level 1
东西居 楼主
我用虚拟机装了个debian9,但是没有了/etc/rc.local了。
大家用实机装的有这个情况吗?
是我虚拟机装的有问题还是debian又改变规则了?
2017年07月05日 08点07分 1
level 11
全面换systemd了
2017年07月05日 09点07分 2
变化好多,一些依赖rc.local的都得改了。
2017年07月08日 05点07分
archlinux的systemd最好用,主旨是简洁。其它系统的systemd,比较臃肿
2017年07月21日 05点07分
强烈推荐parabola、gnewsense,基于linux-libre的百分百自由
2017年07月21日 05点07分
level 1
chmod +x rc.local
sudo cp rc.local /etc/
2017年07月08日 10点07分 3
没用的,单单创建一个文件没有用,需要在systemd里再创建一个rc.local的服务,在/etc/init.d按照格式创建一个service文件,然后在systemctl enabled rclocal.service启动。
2017年07月09日 03点07分
@东西居 debian9没有rc.local文件后,我要开机启动一个脚本文件,我该怎么设置,求求求。。。
2017年09月12日 07点09分
回复 tianshangia :You must learn to write a script . This script is different to bash and C++
2017年09月12日 08点09分
@tianshangia echo /etc/rc.local >>/etc/profile && source /etc/profile
2023年03月16日 01点03分
level 13
我要开机启动一个脚本文件
-------------------------------------------
kde的桌面比较简单,可以直接在系统设置中添加即可。其它的方法可以gg下。
2017年09月12日 09点09分 4
Unable to understand your "gg"
2017年09月12日 10点09分
1