diff options
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh index bd11f9a2fc..162df2b87e 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | |||
@@ -71,7 +71,7 @@ then | |||
71 | read TIMESTAMP < /etc/timestamp2 | 71 | read TIMESTAMP < /etc/timestamp2 |
72 | NEEDUPDATE=`expr \( $TIMESTAMP \> $SYSTEMDATE + 10000 \)` | 72 | NEEDUPDATE=`expr \( $TIMESTAMP \> $SYSTEMDATE + 10000 \)` |
73 | if [ $NEEDUPDATE -eq 1 ]; then | 73 | if [ $NEEDUPDATE -eq 1 ]; then |
74 | date $TIMESTAMP | 74 | date -s $TIMESTAMP |
75 | /etc/init.d/hwclock.sh stop | 75 | /etc/init.d/hwclock.sh stop |
76 | fi | 76 | fi |
77 | fi | 77 | fi |