sysconf fix

This commit is contained in:
aliriza committed 2023-01-27 09:01:11 +00:00
1 parent e713585579
commit 317b679b56
5 files changed
+3 -7

No files matched your search

-1
View File
@@ -1,5 +1,4 @@
#!/bin/busybox ash
/bin/busybox mkdir -p /var/lib/ymp/sysconf/busybox/
if /bin/busybox [ ! -f /var/lib/ymp/sysconf/busybox/postinstall.done ] ; then
/bin/busybox --install -s /bin
/bin/busybox install /bin/busybox /bin/su
+1 -1
View File
@@ -12,5 +12,5 @@ touch /var/lib/ymp/sysconf/glibc/update.date
last=$(cat /var/lib/ymp/sysconf/glibc/update.date)
if [ "$current" != "$last" ] ; then
/bin/locale-gen
echo "$current" > /var/lib/ymp/sysconf/glibc/update.date
echo "$(date +%s -r /etc/locale.gen)" > /var/lib/ymp/sysconf/glibc/update.date
fi