blob: 2d28d6b5db927ce099f73a3a20aedd31dda8aa0e [file] [log] [blame]
# Copyright 2019 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.
#
# Installs a serialized install_attributes.pb protobuf into /run/lockbox.
# We do this to make ChromeOS services believe that we are enterprise
# enrolled, which allows users to control in-place update behavior.
[Unit]
Description=Setup install_attributes.pb
DefaultDependencies=no
Before=sysinit.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/bin/mkdir -p /run/lockbox
ExecStart=/bin/cp /usr/share/cloud/install_attributes.pb /run/lockbox/