Move choose-mirror script to /usr/local/bin/

/etc/systemd/scripts/ is not a standard directory.

Run shellchek on the choose-mirror script.
This commit is contained in:
nl6720 2020-06-30 13:30:51 +03:00
parent 3cf8e738ed
commit 511ca9d95d
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
3 changed files with 2 additions and 1 deletions

View File

@ -13,3 +13,4 @@ lint:
archiso/mkarchiso archiso/mkarchiso
configs/{baseline,releng}/build.sh configs/{baseline,releng}/build.sh
configs/releng/airootfs/root/.automated_script.sh configs/releng/airootfs/root/.automated_script.sh
configs/releng/airootfs/usr/local/bin/choose-mirror

View File

@ -4,7 +4,7 @@ ConditionKernelCommandLine=mirror
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/etc/systemd/scripts/choose-mirror ExecStart=/usr/local/bin/choose-mirror
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target