Remove Beaglebone Black services permanently

假如想象 提交于 2019-12-06 03:20:31

问题


How do I permanently remove cloud9, bonescript, gateone, etc., from the BeagleBone Black Debian (wheezy) distribution? I can disable them with these commands:

systemctl disable cloud9.service
systemctl disable gateone.service
systemctl disable bonescript.service
systemctl disable bonescript.socket
systemctl disable bonescript-autorun.service
systemctl disable avahi-daemon.service
systemctl disable gdm.service
systemctl disable mpd.service

And the disabling survives a reboot, but sometimes when I install a package, some systemd trigger will re-enable them. How can I permanently remove them?


回答1:


Try it:

in your terminal, type

ls /lib/systemd/system

if your service files are there, just delete them.




回答2:


As the Cloud9 IDE is built on node (which I did not need) I got rid av the whole shebang using:

sudo apt-get remove nodejs



来源:https://stackoverflow.com/questions/24643097/remove-beaglebone-black-services-permanently

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!