Install dhcpcd package before enable it

This commit is contained in:
MatMoul 2019-10-06 21:52:07 +02:00
parent 7d66ed110b
commit 82a53b3a23

4
archfi
View file

@ -1603,6 +1603,10 @@ archrefindinstallchroot(){
archenabledhcpcd(){ archenabledhcpcd(){
if (whiptail --backtitle "${apptitle}" --title "${txtenable//%1/dhcpcd}" --yesno "${txtenable//%1/dhcpcd} ?" 0 0) then if (whiptail --backtitle "${apptitle}" --title "${txtenable//%1/dhcpcd}" --yesno "${txtenable//%1/dhcpcd} ?" 0 0) then
clear clear
echo "pacstrap /mnt dhcpcd"
pacstrap /mnt dhcpcd
archchroot enabledhcpcd archchroot enabledhcpcd
pressanykey pressanykey
fi fi