Commit 9a4ac543 authored by udeved's avatar udeved

util-live: use /etc/localtime on openrc also

parent 8dd6481a
...@@ -275,12 +275,10 @@ configure_language(){ ...@@ -275,12 +275,10 @@ configure_language(){
if [[ -d /run/openrc ]]; then if [[ -d /run/openrc ]]; then
sed -i "s/keymap=.*/keymap=\"${keytable}\"/" /etc/conf.d/keymaps sed -i "s/keymap=.*/keymap=\"${keytable}\"/" /etc/conf.d/keymaps
ln -sf /usr/share/zoneinfo/${timezone} /etc/timezone
ln -sf /usr/share/zoneinfo/${timezone} /etc/localtime
fi fi
echo "KEYMAP=${keytable}" > /etc/vconsole.conf echo "KEYMAP=${keytable}" > /etc/vconsole.conf
echo "LANG=${lang}.UTF-8" > /etc/locale.conf echo "LANG=${lang}.UTF-8" > /etc/locale.conf
ln -sf /usr/share/zoneinfo/${timezone} /etc/localtime
write_x11_config write_x11_config
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment