summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-29 09:39:23 +0100
committerSimon Rettberg2024-01-29 09:39:23 +0100
commit2b367ccdf66a435c205606a1ce71a003c3e0788d (patch)
treea67e9885264282cc3c87fd5a58bcaf0d44cb8107
parent[kdm/kdm-theme-bwlp] Remove (diff)
downloadmltk-2b367ccdf66a435c205606a1ce71a003c3e0788d.tar.gz
mltk-2b367ccdf66a435c205606a1ce71a003c3e0788d.tar.xz
mltk-2b367ccdf66a435c205606a1ce71a003c3e0788d.zip
UTF-8
-rwxr-xr-xcore/modules/disk-partitions/data/opt/openslx/scripts/systemd-setup_partitions2
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats4
-rw-r--r--core/modules/run-virt/fwtool/main.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/core/modules/disk-partitions/data/opt/openslx/scripts/systemd-setup_partitions b/core/modules/disk-partitions/data/opt/openslx/scripts/systemd-setup_partitions
index 571b5899..c85f5079 100755
--- a/core/modules/disk-partitions/data/opt/openslx/scripts/systemd-setup_partitions
+++ b/core/modules/disk-partitions/data/opt/openslx/scripts/systemd-setup_partitions
@@ -134,7 +134,7 @@ mount_temp () {
chmod a+rwxt /tmp
# Move stuff from working directory, which is old /tmp, to new /tmp just mounted
mv ./* ./.[!.]* ./..?* /tmp/ 2> /dev/null
- local OLD=$(LANG=C ls -alh | grep -v -E ' \.\.?$' | grep -v '^total')
+ local OLD=$(LANG=C.UTF-8 ls -alh | grep -v -E ' \.\.?$' | grep -v '^total')
[ -n "$OLD" ] && echo -- "Leftovers:" && echo -- "$OLD"
cd "$PRE" || true
}
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
index 252c80c7..7feed991 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
@@ -5,8 +5,8 @@
# This script gathers information about the hardware and configuration and reports it back to the server
. /opt/openslx/config
-export LANG=C
-export LC_ALL=C
+export LANG=C.UTF-8
+export LC_ALL=C.UTF-8
touch "/tmp/hw-delete-list" || exit 10
chmod 0600 "/tmp/hw-delete-list" || exit 11
diff --git a/core/modules/run-virt/fwtool/main.c b/core/modules/run-virt/fwtool/main.c
index 9e272384..aa6e70f3 100644
--- a/core/modules/run-virt/fwtool/main.c
+++ b/core/modules/run-virt/fwtool/main.c
@@ -19,8 +19,8 @@ int main(int argc, char **argv)
char * const nenv[] = {
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin",
"HOME=/root",
- "LC_ALL=C",
- "LANG=C",
+ "LC_ALL=C.UTF-8",
+ "LANG=C.UTF-8",
0
};