blob: 27d00dbd49d942e92e7240fc6341e587661637b0 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
description "Start the bootcache process"
author ""
# Starts the bootcache deamon that either creates the bootcache
# or cleans it up after it is used.
start on started system-services
pre-start script
sleep 5 # Give a little extra time for chrome
end script
device=$(rootdev -s)
exec ionice -c3 bootcache dm-0 $device
end script