progress
This commit is contained in:
parent
8bb990465f
commit
26d0611b6c
|
@ -26,9 +26,11 @@ config() {
|
|||
sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT/s/=\"/=\"rd.lvm.vg=vg_${TARGETNAME_UNDERSCORE} /" /etc/default/grub
|
||||
fi
|
||||
|
||||
if ! grep -q rd.console.keymap /etc/default/grub; then
|
||||
if ! [ "${KEY_LANG}" == "en" ]; then
|
||||
if ! grep -q rd.console.keymap /etc/default/grub; then
|
||||
sed -i "/^GRUB_CMDLINE_LINUX_DEFAULT/s/=\"/=\" rd.vconsole.keymap=${L2} /" /etc/default/grub
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
uuid=$(blkid -o value -s UUID /dev/mapper/vg_${TARGETNAME_UNDERSCORE}-swap)
|
||||
|
|
|
@ -26,6 +26,6 @@ packages() {
|
|||
config() {
|
||||
enable_service dbus sddm
|
||||
if ! [ "${KEY_LANG}" == "en" ]; then
|
||||
echo "export LANG=${L2}.UTF-8" > /etc/sv/sddm/conf
|
||||
echo "export LANG=${L1}.UTF-8" > /etc/sv/sddm/conf
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user