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 rm -f /swapfile
sed -i '/swapfile/d' /etc/fstab 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 # Purge unused Ubuntu packages
PKGS=" PKGS="
apport apport
@ -54,6 +62,7 @@ gnome-power-manager
gnome-software gnome-software
gnome-software-common gnome-software-common
memtest86+ memtest86+
network-manager*
orca orca
popularity-contest popularity-contest
python3-update-manager python3-update-manager
@ -87,7 +96,6 @@ systemctl disable $SERVICES
SERVICES=" SERVICES="
grub-common.service grub-common.service
NetworkManager-wait-online.service
plymouth-quit-wait.service plymouth-quit-wait.service
" "
systemctl mask $SERVICES systemctl mask $SERVICES

Loading…
Cancel
Save