head	1.1;
branch	1.1.1;
access;
symbols
	import-20090318:1.1.1.1
	import-20081205:1.1.1.1
	rel-8-1-2-sv:1.1.1.1
	import-20080404:1.1.1.1
	freescale:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2008.04.04.10.52.01;	author seh;	state Exp;
branches
	1.1.1.1;
next	;
commitid	GVikqE6sLnKPsMXs;

1.1.1.1
date	2008.04.04.10.52.01;	author seh;	state Exp;
branches;
next	;
commitid	GVikqE6sLnKPsMXs;


desc
@@


1.1
log
@Initial revision
@
text
@#!/bin/sh

if [ ! -x /sbin/hwclock ]
then
    exit 0
fi

if [ "$1" = "stop" -o "$1" = "restart" ]
then
    echo "Syncing hardware clock to system time"
    /sbin/hwclock -w
fi

if [ "$1" = "start" -o "$1" = "restart" ]
then
    echo "Setting system clock to RTC"
    /sbin/hwclock -s
    /sbin/hwclock -r
fi
@


1.1.1.1
log
@Import from fsl 20080404
@
text
@@
