aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 6 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index d8697483..e2d5b3a8 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -29,6 +29,7 @@ set_the_clock() {
# Set the system clock.
_CLOCK_SET=1
ARC=0
+ SRM=0
UTC=0
if [ -f /etc/sysconfig/clock ]; then
. /etc/sysconfig/clock
@@ -45,7 +46,6 @@ set_the_clock() {
if [ -x /sbin/hwclock ]; then
CLOCKFLAGS="--hctosys"
CLOCK=/sbin/hwclock
- $CLOCK --adjust
else
CLOCKFLAGS="-a"
CLOCK=/sbin/clock
@@ -64,6 +64,11 @@ set_the_clock() {
CLOCKFLAGS="$CLOCKFLAGS -A";
CLOCKDEF="$CLOCKDEF (arc)";
;;
+ case "$SRM" in
+ yes|true)
+ CLOCKFLAGS="$CLOCKFLAGS -S";
+ CLOCKDEF="$CLOCKDEF (srm)";
+ ;;
esac
fi