mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
20 lines
420 B
Text
20 lines
420 B
Text
#!/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
|
|
}
|