aboutsummaryrefslogtreecommitdiff
path: root/rc.boot
diff options
context:
space:
mode:
Diffstat (limited to 'rc.boot')
-rwxr-xr-xrc.boot8
1 files changed, 8 insertions, 0 deletions
diff --git a/rc.boot b/rc.boot
index 2910e30..f7c80dc 100755
--- a/rc.boot
+++ b/rc.boot
@@ -135,6 +135,14 @@ out "Getting keymap settings..."; {
[ -n "$keymap" ] && loadkmap < "$keymap"
}
+[ "$timezone" ] && out "Setting system time ("$timezone")" && {
+ if [ -f "/usr/share/zoneinfo/$timezone" ]; then
+ ln -sf "/usr/share/zoneinfo/$timezone" /etc/localtime
+ else
+ error "/usr/share/zoneinfo/$timezone could not be found"
+ fi
+}
+
out "Loading sysctl settings..."; {
find /run/sysctl.d \