commit ff4c65a409492a2e11861e6f0e9e8a12788b5f3e
parent b8a17417c81ec8f9e34e98cfcdbfa247842ef39d
Author: torter <koubbamohamedrayan@gmail.com>
Date: Sat, 14 Nov 2026 20:21:14 +0000
rc: set the system time from the hardware clock
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/files/etc/rc b/files/etc/rc
@@ -18,6 +18,7 @@ chmod 1777 /tmp
mkdir -p /var/log /var/db /var/lib /var/cache /var/tmp
chmod 1777 /var/tmp
[ -e /var/run ] || ln -s ../run /var/run
+hwclock -s 2>/dev/null
host=$(conf hostname)
[ -n "$host" ] && echo "$host" > /proc/sys/kernel/hostname
dmesg > /var/log/dmesg.boot