Commit 5a74f292 authored by anonym's avatar anonym

Rename services/binaries to disable them instead of removing.

parent f08a5f34
......@@ -16,7 +16,9 @@ export TEXTDOMAIN
disable_networking() {
service network-manager stop || :
rm -f /etc/init.d/network-manager /usr/sbin/NetworkManager
for f in /etc/init.d/network-manager /usr/sbin/NetworkManager; do
[ -e "${f}" ] && mv "${f}" "${f}.disabled"
log "Networking disabled"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment