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,22 +89,25 @@ echo -ne "
Enabling Essential Services Enabling Essential Services
------------------------------------------------------------------------- -------------------------------------------------------------------------
" "
systemctl enable cups.service # services part of the base installation
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 NetworkManager.service systemctl enable NetworkManager.service
echo " NetworkManager enabled" echo " NetworkManager enabled"
systemctl enable bluetooth
echo " Bluetooth enabled"
if [[ ${INSTALL_TYPE} == "FULL" ]]; then 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 if [[ "${FS}" == "luks" || "${FS}" == "btrfs" ]]; then
echo -ne " echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------