blob: 818c71b783fddbf1d8a69dfc32c8f4b94ceb6e6f [file] [log] [blame]
# Copyright (c) 2011 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 "Dumps VPD information for chrome://system"
author "chromium-os-dev@chromium.org"
# VPD (Vital Product Data) information is shown on chrome://system for
# user, feedback, and partner's customer service center.
#
# This job will read VPD from BIOS and log it into /var/log/vpd_2.0.txt.
# It should be executed at least once some time after boot and before the
# user types "chrome://system" in the chrome location bar.
#
# This job depends on system-services so as to keep to it off of the
# boot critical path, because it may invoke the flashrom utility to
# access BIOS, which is slow.
start on starting system-services
script
if [ -x /usr/sbin/dump_vpd_log ]; then
/usr/sbin/dump_vpd_log
fi
end script