Services Full/Minimal check
This commit is contained in:
parent
d9ef4c3226
commit
2da9b936dd
|
|
@ -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 "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue