Browse Source

Remove network-manager

content-update
Xavier Petit 5 years ago
parent
commit
fbef965345
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 10
      scripts/ubuntu_tweaks.sh

10
scripts/ubuntu_tweaks.sh

@ -39,6 +39,14 @@ swapoff /swapfile || true
rm -f /swapfile
sed -i '/swapfile/d' /etc/fstab
# Network configuration
interface=$(ip route get 1.1.1.1 | head -1 | cut -d' ' -f5)
cat <<EOF> /etc/network/interfaces
allow-hotplug $interface
iface $interface inet dhcp
EOF
# Purge unused Ubuntu packages
PKGS="
apport
@ -54,6 +62,7 @@ gnome-power-manager
gnome-software
gnome-software-common
memtest86+
network-manager*
orca
popularity-contest
python3-update-manager
@ -87,7 +96,6 @@ systemctl disable $SERVICES
SERVICES="
grub-common.service
NetworkManager-wait-online.service
plymouth-quit-wait.service
"
systemctl mask $SERVICES

Loading…
Cancel
Save