obos-iso/source/airootfs/etc/systemd/system/choose-mirror.service

11 lines
197 B
SYSTEMD
Raw Normal View History

[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