[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH v2 4/7] appliance: Don't run hwclock command.



This command alone took 0.3 seconds which is about 10% of the current
launch time.  It appears to be unnecessary.

This reverts commit 508f1ee87e816bf6b6fc8e629ccbb2d61a971169.
---
 appliance/init | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/appliance/init b/appliance/init
index de028b3..586f208 100755
--- a/appliance/init
+++ b/appliance/init
@@ -105,9 +105,6 @@ for f in /sys/block/sd*/device/timeout; do echo 300 > $f; done
 for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done
 shopt -u nullglob
 
-# Update the system clock.
-hwclock -u -s
-
 # Set up the network.
 ip addr add 127.0.0.1/8 brd + dev lo scope host
 ip link set dev lo up
-- 
2.5.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]