| # Copyright 2023 The ChromiumOS Authors | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| [Unit] | |
| Description=Regenerate machine-id when disconnecting from a network | |
| [Service] | |
| ExecStart=/usr/sbin/machine-id-regen --reason=network | |
| [WantedBy] | |
| Install=shill-disconnected.target |