diff options
-rw-r--r-- | community/iwd/APKBUILD | 6 | ||||
-rw-r--r-- | community/iwd/iwd.confd | 6 | ||||
-rw-r--r-- | community/iwd/iwd.initd | 5 |
3 files changed, 14 insertions, 3 deletions
diff --git a/community/iwd/APKBUILD b/community/iwd/APKBUILD index 571ba1dc952..3a0823cafb0 100644 --- a/community/iwd/APKBUILD +++ b/community/iwd/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Milan P. Stanić <mps@arvanta.net> pkgname=iwd pkgver=1.16 -pkgrel=0 +pkgrel=1 pkgdesc="Internet Wireless Daemon" url="https://iwd.wiki.kernel.org/" arch="all" @@ -85,8 +85,8 @@ ead_openrc() { sha512sums=" 2c267965301a1d17e9781d5b1a5c092c2ab52882cfeecebb153ad9bc39335d454b9fb4311f546b5dfeaf08dc665c1b4413f45500ef4ac20f20a61ab67d1e858a iwd-1.16.tar.gz 7d3bc26b558ebfd22335b946f09abd5326e885275979c617af7def1468ade23ba7605f3b13aaf91836035c130aaec04be0ff2708a898f3ae835e0eef4e78fa0e dbus-netdev-group.patch -fdad00af35c688c9575a629b28d36a72e4aca0f69adeccff2618f92dc03126c7bcf096b5eec10fcee10b2a176942fa994b5fc5acd4c00c38306849c5cb29fc39 iwd.initd -edd81077b9b3b8aa98da71c0f318efb23432d9ff81484718d48f8edc4e31bd51d17caa7f9b87a0bbda7c7f015804d80bbdb612627f06a86f435a82eee9e302e2 iwd.confd +6db0cd6350eeb1e594290b87329a813651db6ae93f5cd917e26a6f1612f3df2e7f2c82779ef897a1c9b491d328d7059283761e4728f7830308cac37cc6e5cdc3 iwd.initd +e940b1b5f122f1eb2b7e53d3b56d2b74139922941b429aa92778ed54d856d770e280c06fdda192aa49c2b6e7d69723ffec59b2839f7cea1b08b1e7a2d336636f iwd.confd 509401a385476b2491f175893013093217351409729ebf3746b8c4cb33c5b6c812fd5ca3d85881a520ad40696c414dfb3a0b585b5dd937c9437142677dc49492 ead.initd c44abe2943b7befea0afa2bad55cc022078c2c3103bb99028a5f0e9210ecb9c7b746b339fc15ab866ee8664ccc2c226e2776eeb8e4288da83cb7427adf7a6cd2 ead.confd 09f4097e653cfecfa1e4bc7b4843832785d0a8ef2a8ecf7daa3d5be704d9ac311fbbecf9f9f5b8b1c75beff894e4cf0d8fda4d6ff728a638dedf77aff0197179 main.conf diff --git a/community/iwd/iwd.confd b/community/iwd/iwd.confd index 916ce5d339f..9fed1e0a1c5 100644 --- a/community/iwd/iwd.confd +++ b/community/iwd/iwd.confd @@ -14,5 +14,11 @@ # Log messages are redirected to syslog. Set to empty string to disable. #error_logger="logger -t iwd -p daemon.info" +# Number of milliseconds to wait after starting and check that daemon is +# still running. Set to empty string to disable. +# NOTE: If you use iwd together with ConnMan and ConnMan crashes when started +# right after iwd, increase this period to e.g. 200 ms. +#start_wait=50 + # Uncomment to use process supervisor. #supervisor="supervise-daemon" diff --git a/community/iwd/iwd.initd b/community/iwd/iwd.initd index 3c6bdc001b9..df5cfb5d72a 100644 --- a/community/iwd/iwd.initd +++ b/community/iwd/iwd.initd @@ -3,6 +3,7 @@ description="iNet wireless daemon" : ${error_logger="logger -t iwd -p daemon.info"} +: ${start_wait=50} # milliseconds command="/usr/libexec/iwd" command_background="yes" @@ -11,6 +12,10 @@ command_args=" ${ignored_interfaces:+"--nointerfaces \"$ignored_interfaces\""} ${command_args:-} " +start_stop_daemon_args=" + ${start_wait:+--wait $start_wait} + ${start_stop_daemon_args:-} + " pidfile="/run/$RC_SVCNAME.pid" depend() { |