14 lines
244 B
SYSTEMD
14 lines
244 B
SYSTEMD
|
#
|
||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||
|
|
||
|
[Unit]
|
||
|
Description=Choose mirror from the kernel command line
|
||
|
ConditionKernelCommandLine=mirror
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/local/bin/choose-mirror
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|