fix issues

This commit is contained in:
2025-10-12 01:10:12 +02:00
parent eab308fd8b
commit b826243a8d

View File

@@ -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)
if [ -n "$country_code" ]; then
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"
else
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/systemd/boot/efi/systemd-bootx64.efi.signed /usr/lib/systemd/boot/efi/systemd-bootx64.efi
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
fi
fi