blob: 03eeaef3c88f5bee3382634b71b1994f883135f3 [file] [log] [blame]
# Copyright 2018 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 "Perform connection-manager-related session cleanup tasks."
author "chromium-os-dev@chromium.org"
# Use 'start on stopping' and 'task' to hold up restarting the session
# manager until the connection manager has cleaned up
# session-dependent state.
start on stopping ui
task
script
# In case there are quick, back-to-back login/logout -- logout should win.
stop shill-start-user-session || :
exec shill_logout_user
end script