summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-08-02 01:39:14 +0200
committerTom Gundersen <teg@jklm.no>2012-08-02 01:39:14 +0200
commita14e36bf66ceef26797217638857f3cf93873890 (patch)
treefad2a1bb8c53e4d762a58b8cd6d41922004cd97f
parentad6100d47b2d5337d1645e946de6f450dc990ff8 (diff)
rc.sysinit: fix adjtime warning
This never worked. Reported-by: James Gordon <drwitherstone@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.sysinit b/rc.sysinit
index c8f6360..e1a1081 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -139,7 +139,7 @@ stat_busy "Saving dmesg log"
(( $? == 0 )) && stat_done || stat_fail
if [[ -f /etc/adjtime ]]; then
- ( read ; read ; read ADJTIME) < /etc/adjtime
+ { read ; read ; read ADJTIME; } < /etc/adjtime
if [[ $ADJTIME == 'LOCAL' ]]; then
if [[ $HARDWARECLOCK == 'UTC' ]]; then