blob: 179b185fd9e87d0324bcecc96d6538704509d30c [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 "mount pstore for kernel buffer over reboots"
author ""
# encrypted-reboot-vault uses pstore-pmsg to store a transient key that is
# accessed during chromeos_startup. Mount pstore before beginning startup.
start on starting startup
env PSTORE_GROUP=pstore-access
mount -n -t pstore -o nodev,nosuid,noexec pstore "${path}"
chmod 0750 "${path}"
# TODO(ellyjones): restrict more tightly (
chgrp "${PSTORE_GROUP}" "${path}"
end script