diff options
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh index d9e8ffa373..20ec0a025d 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | |||
@@ -68,9 +68,9 @@ fi | |||
68 | /etc/init.d/hwclock.sh start | 68 | /etc/init.d/hwclock.sh start |
69 | if test -e /etc/timestamp | 69 | if test -e /etc/timestamp |
70 | then | 70 | then |
71 | SYSTEMDATE=`date -u +%4Y%2m%2d` | 71 | SYSTEMDATE=`date -u +%4Y%2m%2d%2H%2M` |
72 | read TIMESTAMP < /etc/timestamp | 72 | read TIMESTAMP < /etc/timestamp |
73 | if [ ${TIMESTAMP#????????}${TIMESTAMP%????????} -gt $SYSTEMDATE ]; then | 73 | if [ ${TIMESTAMP} -gt $SYSTEMDATE ]; then |
74 | date -u $TIMESTAMP | 74 | date -u $TIMESTAMP |
75 | /etc/init.d/hwclock.sh stop | 75 | /etc/init.d/hwclock.sh stop |
76 | fi | 76 | fi |