From 28b8442ec5aaf87b7937a1753c13af6f1ab6c8e1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 19 Mar 2016 20:13:49 +0000 Subject: [PATCH] appliance: init: 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. (cherry picked from commit f36ba3888654b55a25158edd23a40fd0e28545a8) --- appliance/init | 3 --- 1 file changed, 3 deletions(-) diff --git a/appliance/init b/appliance/init index 6793d57..4407bbb 100755 --- a/appliance/init +++ b/appliance/init @@ -109,9 +109,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.7.4