From 2da9b936dd5aa3d9ba89a0cdb8c039720fb9fadf Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 28 Feb 2022 23:42:51 -0600 Subject: [PATCH] Services Full/Minimal check --- scripts/3-post-setup.sh | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/scripts/3-post-setup.sh b/scripts/3-post-setup.sh index fd78ca3..683a513 100755 --- a/scripts/3-post-setup.sh +++ b/scripts/3-post-setup.sh @@ -89,22 +89,25 @@ echo -ne " Enabling Essential Services ------------------------------------------------------------------------- " -systemctl enable cups.service -echo " Cups enabled" -ntpd -qg -systemctl enable ntpd.service -echo " NTP enabled" -systemctl disable dhcpcd.service -echo " DHCP disabled" -systemctl stop dhcpcd.service -echo " DHCP stopped" +# services part of the base installation systemctl enable NetworkManager.service echo " NetworkManager enabled" -systemctl enable bluetooth -echo " Bluetooth enabled" if [[ ${INSTALL_TYPE} == "FULL" ]]; then + # services part of full installation + systemctl enable cups.service + echo " Cups enabled" + ntpd -qg + systemctl enable ntpd.service + echo " NTP enabled" + systemctl disable dhcpcd.service + echo " DHCP disabled" + systemctl stop dhcpcd.service + echo " DHCP stopped" + systemctl enable bluetooth + echo " Bluetooth enabled" + if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then echo -ne " ------------------------------------------------------------------------- @@ -140,7 +143,7 @@ if [[ ${INSTALL_TYPE} == "FULL" ]]; then fi plymouth-set-default-theme -R arch-glow # sets the theme and runs mkinitcpio echo 'Plymouth theme installed' - + fi echo -ne "