blob: 98b7b1de02de490330fafe3e4af7b9e5c76a84e0 [file] [log] [blame]
# Copyright 2021 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 "Chrome OS Rootfs lacros-chrome unmounter"
author "chromium-os-dev@chromium.org"
# This job is started by ash-chrome.
oom score never
task
env LACROS_MOUNT_POINT="/run/lacros"
script
if [ -d "${LACROS_MOUNT_POINT}" ]; then
umount "${LACROS_MOUNT_POINT}"
rm -rf "${LACROS_MOUNT_POINT}"
fi
end script