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
407262b0
Commit
407262b0
authored
3 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
community/iwd: add init script and prepare config dir for ead
parent
ff22c7b8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
community/iwd/APKBUILD
+12
-0
12 additions, 0 deletions
community/iwd/APKBUILD
community/iwd/ead.confd
+18
-0
18 additions, 0 deletions
community/iwd/ead.confd
community/iwd/ead.initd
+20
-0
20 additions, 0 deletions
community/iwd/ead.initd
with
50 additions
and
0 deletions
community/iwd/APKBUILD
+
12
−
0
View file @
407262b0
...
...
@@ -15,6 +15,8 @@ source="https://mirrors.edge.kernel.org/pub/linux/network/wireless/iwd-$pkgver.t
dbus-netdev-group.patch
iwd.initd
iwd.confd
ead.initd
ead.confd
main.conf
iwd.post-upgrade
"
...
...
@@ -50,6 +52,14 @@ package() {
install
-m755
-D
"
$srcdir
"
/
$pkgname
.initd
"
$pkgdir
"
/etc/init.d/
$pkgname
install
-m644
-D
"
$srcdir
"
/
$pkgname
.confd
"
$pkgdir
"
/etc/conf.d/
$pkgname
install
-m750
-d
"
$pkgdir
"
/etc/ead
# ead expects configs in /var/lib/ead, but these are really configs,
# not dynamically generated, so they should be in /etc.
ln
-s
/etc/ead
"
$pkgdir
"
/var/lib/ead
install
-m755
-D
"
$srcdir
"
/ead.initd
"
$pkgdir
"
/etc/init.d/ead
install
-m644
-D
"
$srcdir
"
/ead.confd
"
$pkgdir
"
/etc/conf.d/ead
}
sha512sums
=
"
...
...
@@ -57,6 +67,8 @@ sha512sums="
7d3bc26b558ebfd22335b946f09abd5326e885275979c617af7def1468ade23ba7605f3b13aaf91836035c130aaec04be0ff2708a898f3ae835e0eef4e78fa0e dbus-netdev-group.patch
fdad00af35c688c9575a629b28d36a72e4aca0f69adeccff2618f92dc03126c7bcf096b5eec10fcee10b2a176942fa994b5fc5acd4c00c38306849c5cb29fc39 iwd.initd
edd81077b9b3b8aa98da71c0f318efb23432d9ff81484718d48f8edc4e31bd51d17caa7f9b87a0bbda7c7f015804d80bbdb612627f06a86f435a82eee9e302e2 iwd.confd
509401a385476b2491f175893013093217351409729ebf3746b8c4cb33c5b6c812fd5ca3d85881a520ad40696c414dfb3a0b585b5dd937c9437142677dc49492 ead.initd
c44abe2943b7befea0afa2bad55cc022078c2c3103bb99028a5f0e9210ecb9c7b746b339fc15ab866ee8664ccc2c226e2776eeb8e4288da83cb7427adf7a6cd2 ead.confd
09f4097e653cfecfa1e4bc7b4843832785d0a8ef2a8ecf7daa3d5be704d9ac311fbbecf9f9f5b8b1c75beff894e4cf0d8fda4d6ff728a638dedf77aff0197179 main.conf
414cb08e01735a66dfb57eac7f308ce75f8f7adf679c5e38418293a0acb2398f9b4df4dd50a6756e48eb03b86de1546e2f852a28677842f2c453a0db86d49f71 iwd.post-upgrade
"
This diff is collapsed.
Click to expand it.
community/iwd/ead.confd
0 → 100644
+
18
−
0
View file @
407262b0
# Configuration for /etc/init.d/ead
# A comma-separated list of patterns specifying the network interfaces that
# ead is allowed to manage. Defaults to any ethernet interfaces.
#allowed_interfaces=
# A comma-separated list of patterns specifying the network interfaces that
# ead should ignore.
#ignored_interfaces=
# Extra options for ead(8).
#command_args=
# Log messages are redirected to syslog. Set to empty string to disable.
#error_logger="logger -t ead -p daemon.info"
# Uncomment to use process supervisor.
#supervisor="supervise-daemon"
This diff is collapsed.
Click to expand it.
community/iwd/ead.initd
0 → 100644
+
20
−
0
View file @
407262b0
#!/sbin/openrc-run
description
=
"Ethernet authentication daemon"
:
${
error_logger
=
"logger -t ead -p daemon.info"
}
command
=
"/usr/libexec/ead"
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
before net
keyword
-shutdown
}
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