Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
ff22c7b8
Commit
ff22c7b8
authored
3 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
community/iwd: improve init script, add logging
parent
1c4c31c1
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
community/iwd/APKBUILD
+8
-5
8 additions, 5 deletions
community/iwd/APKBUILD
community/iwd/iwd.confd
+18
-0
18 additions, 0 deletions
community/iwd/iwd.confd
community/iwd/iwd.initd
+10
-3
10 additions, 3 deletions
community/iwd/iwd.initd
with
36 additions
and
8 deletions
community/iwd/APKBUILD
+
8
−
5
View file @
ff22c7b8
...
...
@@ -14,6 +14,7 @@ subpackages="$pkgname-doc $pkgname-openrc"
source
=
"https://mirrors.edge.kernel.org/pub/linux/network/wireless/iwd-
$pkgver
.tar.gz
dbus-netdev-group.patch
iwd.initd
iwd.confd
main.conf
iwd.post-upgrade
"
...
...
@@ -43,17 +44,19 @@ check() {
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
install
-m750
-d
"
$pkgdir
"
/var/lib/
$pkgname
install
-m
755
-D
"
$srcdir
"
/
$pkgname
.initd
\
"
$pkgdir
"
/etc/init.d/
$pkgname
install
-m
644
-D
"
$srcdir
"
/
main.conf
\
"
$pkgdir
"
/etc/
$pkgname
/main.conf
install
-m
644
-D
"
$srcdir
"
/
main.conf
"
$pkgdir
"
/etc/
$pkgname
/main.conf
install
-m
755
-D
"
$srcdir
"
/
$pkgname
.initd
"
$pkgdir
"
/etc/init.d/
$pkgname
install
-m644
-D
"
$srcdir
"
/
$pkgname
.confd
"
$pkgdir
"
/etc/
conf.d/
$pkgname
}
sha512sums
=
"
398080ead7194bbfe4db4b292ee866c926a515b0b87e3c6afa96ae1949706caafb59081eef81ed42d227f5d0beb075b65dbb392f6af8d10d3978e373b28c3a29 iwd-1.15.tar.gz
7d3bc26b558ebfd22335b946f09abd5326e885275979c617af7def1468ade23ba7605f3b13aaf91836035c130aaec04be0ff2708a898f3ae835e0eef4e78fa0e dbus-netdev-group.patch
1a913fa19a76a18d92b8f44cb5b4b99a64b4e2f7d2b4a486bf1ba2f939aea7dcca772fca91483011ada58aaa3addc29c76ececd708b2187e57f72aa040ac77e6 iwd.initd
fdad00af35c688c9575a629b28d36a72e4aca0f69adeccff2618f92dc03126c7bcf096b5eec10fcee10b2a176942fa994b5fc5acd4c00c38306849c5cb29fc39 iwd.initd
edd81077b9b3b8aa98da71c0f318efb23432d9ff81484718d48f8edc4e31bd51d17caa7f9b87a0bbda7c7f015804d80bbdb612627f06a86f435a82eee9e302e2 iwd.confd
09f4097e653cfecfa1e4bc7b4843832785d0a8ef2a8ecf7daa3d5be704d9ac311fbbecf9f9f5b8b1c75beff894e4cf0d8fda4d6ff728a638dedf77aff0197179 main.conf
414cb08e01735a66dfb57eac7f308ce75f8f7adf679c5e38418293a0acb2398f9b4df4dd50a6756e48eb03b86de1546e2f852a28677842f2c453a0db86d49f71 iwd.post-upgrade
"
This diff is collapsed.
Click to expand it.
community/iwd/iwd.confd
0 → 100644
+
18
−
0
View file @
ff22c7b8
# Configuration for /etc/init.d/iwd
# A comma-separated list of patterns specifying the network interfaces that
# iwd is allowed to manage. Defaults to any wireless interfaces.
#allowed_interfaces=
# A comma-separated list of patterns specifying the network interfaces that
# iwd should ignore.
#ignored_interfaces=
# Extra options for iwd(8).
#command_args=
# Log messages are redirected to syslog. Set to empty string to disable.
#error_logger="logger -t iwd -p daemon.info"
# Uncomment to use process supervisor.
#supervisor="supervise-daemon"
This diff is collapsed.
Click to expand it.
community/iwd/iwd.initd
+
10
−
3
View file @
ff22c7b8
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
pidfile
=
"/run/iwd.pid"
description
=
"iNet wireless daemon"
:
${
error_logger
=
"logger -t iwd -p daemon.info"
}
command
=
"/usr/libexec/iwd"
command_background
=
"yes"
command_args
=
"
${
allowed_interfaces
:+
"--interfaces
\"
$allowed_interfaces
\"
"
}
${
ignored_interfaces
:+
"--nointerfaces
\"
$ignored_interfaces
\"
"
}
${
command_args
:-}
"
pidfile
=
"/run/
$RC_SVCNAME
.pid"
depend
()
{
need dbus
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment