minor debian fixes
This commit is contained in:
@@ -40,6 +40,9 @@ color_reset
|
||||
echo "DE: $DE, TWM: $TWM, Install Level: $INSTALL_LEVEL"
|
||||
echo
|
||||
|
||||
# End of script
|
||||
color_green; echo "Chadwm setup completed."; color_reset
|
||||
|
||||
# Pause
|
||||
read -n 1 -s -r -p "Press any key to continue"
|
||||
echo
|
||||
|
||||
@@ -29,4 +29,17 @@ bash "$SCRIPT_DIR/debian-minimal.sh"
|
||||
|
||||
# Add extra packages
|
||||
install_packages arandr catfish galculator network-manager network-manager-applet network-manager-openvpn numlockx pavucontrol playerctl gparted
|
||||
|
||||
# Ensure NetworkManager manages all interfaces
|
||||
echo "Setting NetworkManager to manage all interfaces..."
|
||||
sudo cp /etc/network/interfaces /etc/network/interfaces.bak.$(date +%s)
|
||||
sudo tee /etc/network/interfaces > /dev/null <<'EOF'
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
EOF
|
||||
sudo sed -i 's/^managed=.*/managed=true/' /etc/NetworkManager/NetworkManager.conf || \
|
||||
echo -e "[ifupdown]\nmanaged=true" | sudo tee -a /etc/NetworkManager/NetworkManager.conf
|
||||
sudo systemctl restart NetworkManager
|
||||
|
||||
# End of script
|
||||
color_green; echo "Full setup completed."; color_reset
|
||||
|
||||
@@ -26,6 +26,8 @@ color_yellow; echo "Starting hyprland setup..."; color_reset
|
||||
|
||||
# Optionally add hyprland-specific packages here
|
||||
#install_packages ????
|
||||
|
||||
# End of script
|
||||
color_green; echo "hyprland setup completed."; color_reset
|
||||
|
||||
# Pause
|
||||
|
||||
@@ -45,4 +45,5 @@ fc-cache -fv
|
||||
sudo systemctl enable chrony
|
||||
sudo systemctl enable fstrim.timer
|
||||
|
||||
# End of script
|
||||
color_green; echo "Minimal setup completed."; color_reset
|
||||
@@ -26,6 +26,8 @@ color_yellow; echo "Starting Server setup..."; color_reset
|
||||
|
||||
# Optionally add Server-specific packages here
|
||||
install_packages linux-headers-$(uname -r)
|
||||
|
||||
# End of script
|
||||
color_green; echo "Server setup completed."; color_reset
|
||||
|
||||
# Pause
|
||||
|
||||
@@ -29,6 +29,8 @@ bash "$SCRIPT_DIR/debian-full.sh"
|
||||
|
||||
# Optionally add workstation-specific packages here
|
||||
install_packages git vlc libreoffice
|
||||
|
||||
# End of script
|
||||
color_green; echo "Workstation setup completed."; color_reset
|
||||
|
||||
# Pause
|
||||
|
||||
@@ -124,6 +124,5 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# Pause
|
||||
read -n 1 -s -r -p "Press any key to continue"
|
||||
echo
|
||||
# End of script
|
||||
color_green; echo "XFCE / SDDM setup completed."; color_reset
|
||||
Reference in New Issue
Block a user