From d9326d5ac9a30b5109d51aee6b04f1fdeecdb350 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 1 Jul 2022 18:00:35 +0200 Subject: [PATCH] modem/tqftpserv: start before rmtfs (MR 3269) Ideally tqftpserv should be started before rmtfs. This is because rmtfs is currently responsible for starting the modem, and it's best for performance if all the services needed by the modem are already up. Also change "want" -> "use" for consistency with rmtfs. The difference between "want" and "use" is that "want" just triggers starting of the other service, while "use" also ensures that the other service starts successfully. --- modem/tqftpserv/APKBUILD | 8 +++++--- modem/tqftpserv/tqftpserv.initd | 5 +++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/modem/tqftpserv/APKBUILD b/modem/tqftpserv/APKBUILD index 1cfc4946b..6c4ece088 100644 --- a/modem/tqftpserv/APKBUILD +++ b/modem/tqftpserv/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Dolphin von Chips pkgname=tqftpserv pkgver=0_git20200207 -pkgrel=1 +pkgrel=2 _commit="783425b550de2a359db6aa3b41577c3fbaae5903" pkgdesc="Trivial File Transfer Protocol server over AF_QIPCRTR" url="https://github.com/andersson/tqftpserv" @@ -27,5 +27,7 @@ package() { install -Dm755 "$srcdir"/tqftpserv.initd "$pkgdir"/etc/init.d/tqftpserv } -sha512sums="67673664bfea444da50e7ff5e882e68d60cf8a4cec60ecaea68766ed20f0bd66cbdbbee883e362003d252070f67172512aa06bcc2c94f23df9248bb1bf58b552 tqftpserv-783425b550de2a359db6aa3b41577c3fbaae5903.tar.gz -f0ee04582df943e941d56310303f335ba809ed56311bc7c9d4f9f9bcb9476f80caa732ff37c466e0abaab099013cbe94994b7e23f6a709b5e7965cbd9dd9b96c tqftpserv.initd" +sha512sums=" +67673664bfea444da50e7ff5e882e68d60cf8a4cec60ecaea68766ed20f0bd66cbdbbee883e362003d252070f67172512aa06bcc2c94f23df9248bb1bf58b552 tqftpserv-783425b550de2a359db6aa3b41577c3fbaae5903.tar.gz +9fde613a1ed53e633ab676e37245d40598deb4b6896c379054389adad5af9f110fcf95871fe31bad3f0ed9321ba3cee8a2160b95e56873719382f81063a85721 tqftpserv.initd +" diff --git a/modem/tqftpserv/tqftpserv.initd b/modem/tqftpserv/tqftpserv.initd index a7a17669b..b02c92445 100644 --- a/modem/tqftpserv/tqftpserv.initd +++ b/modem/tqftpserv/tqftpserv.initd @@ -1,9 +1,10 @@ #!/sbin/openrc-run supervisor=supervise-daemon name="tqftpserv" -description="QRTR TFTP service" +description="Qualcomm Trivial File Transfer Protocol Server" command="/usr/bin/tqftpserv" depend() { - want qrtr-ns + before rmtfs + use qrtr-ns }