#!/bin/bash ENABLED=yes [ "$ENABLED" != "yes" ] && exit 0 DEBUGMODE=no . /usr/lib/ublinux/functions . /usr/lib/ublinux/os-config debug_mode "$0" "$@" [ "$SETCLKATSTART" = "no" ] && exit 0 SOURCE=${SYSCONF}/clock; [ -f ${SOURCE} ] && . ${SOURCE} 2>/dev/null HWCLOCKOPIONS="--utc" [ "$UTC" = "false" ] && HWCLOCKOPIONS="--localtime" hwclock -s $HWCLOCKOPIONS