Services Full/Minimal check

This commit is contained in:
Austin Horstman 2022-02-28 23:42:51 -06:00
parent d9ef4c3226
commit 2da9b936dd
1 changed files with 15 additions and 12 deletions

View File

@ -89,6 +89,13 @@ echo -ne "
Enabling Essential Services Enabling Essential Services
------------------------------------------------------------------------- -------------------------------------------------------------------------
" "
# services part of the base installation
systemctl enable NetworkManager.service
echo " NetworkManager enabled"
if [[ ${INSTALL_TYPE} == "FULL" ]]; then
# services part of full installation
systemctl enable cups.service systemctl enable cups.service
echo " Cups enabled" echo " Cups enabled"
ntpd -qg ntpd -qg
@ -98,13 +105,9 @@ systemctl disable dhcpcd.service
echo " DHCP disabled" echo " DHCP disabled"
systemctl stop dhcpcd.service systemctl stop dhcpcd.service
echo " DHCP stopped" echo " DHCP stopped"
systemctl enable NetworkManager.service
echo " NetworkManager enabled"
systemctl enable bluetooth systemctl enable bluetooth
echo " Bluetooth enabled" echo " Bluetooth enabled"
if [[ ${INSTALL_TYPE} == "FULL" ]]; then
if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then
echo -ne " echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------