Signed-off-by: kokkiemouse <kokkiemouse@gmail.com>
+[Unit]
+Description=set locale
+After=getty.target
+
+[Service]
+Type=oneshot
ExecStart=/bin/bash -c "localectl set-locale LANG=%LC_GEN% \
&& /usr/bin/systemctl disable locale-init.service \
&& rm -f /etc/systemd/system/locale-init.service"
+
+[Install]
+WantedBy=multi-user.target
d) debug=true ;;
x) debug=true; set -xv ;;
a) arch="${OPTARG}" ;;
- g) localegen="${OPTARG/./\\.}\\" ;;
+ g) localegen="${OPTARG}" ;;
z) timezone="${OPTARG}" ;;
l) language="${OPTARG}" ;;
esac