fix issues
This commit is contained in:
@@ -315,7 +315,7 @@ setup_network() {
|
|||||||
"Enter your 2-letter ISO country code (e.g., US, GB, IN):" 10 60 3>&1 1>&2 2>&3)
|
"Enter your 2-letter ISO country code (e.g., US, GB, IN):" 10 60 3>&1 1>&2 2>&3)
|
||||||
if [ -n "$country_code" ]; then
|
if [ -n "$country_code" ]; then
|
||||||
echo "Updating regulatory domain to $country_code"
|
echo "Updating regulatory domain to $country_code"
|
||||||
echo "WIRELESS_REGDOM=\"$country_code\"" | sudo tee -a /etc/conf.d/wireless-regdomain
|
echo "WIRELESS_REGDOM=\"$country_code\"" | sudo tee -a /etc/conf.d/wireless-regdom
|
||||||
echo "Regulatory domain updated to $country_code"
|
echo "Regulatory domain updated to $country_code"
|
||||||
else
|
else
|
||||||
echo "No country code entered. Skipping regulatory domain update."
|
echo "No country code entered. Skipping regulatory domain update."
|
||||||
@@ -509,6 +509,7 @@ setup_fwupd() {
|
|||||||
sudo sbctl sign -s -o /usr/lib/fwupd/efi/fwupdx64.efi.signed /usr/lib/fwupd/efi/fwupdx64.efi
|
sudo sbctl sign -s -o /usr/lib/fwupd/efi/fwupdx64.efi.signed /usr/lib/fwupd/efi/fwupdx64.efi
|
||||||
sudo sbctl sign -s -o /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi
|
sudo sbctl sign -s -o /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi
|
||||||
if pacman -Qs shim > /dev/null; then
|
if pacman -Qs shim > /dev/null; then
|
||||||
|
sudo mkdir -p /boot/EFI/arch
|
||||||
sudo sbctl sign -s -o /boot/EFI/arch/shimx64.efi /usr/share/shim/shimx64.efi
|
sudo sbctl sign -s -o /boot/EFI/arch/shimx64.efi /usr/share/shim/shimx64.efi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user