Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 586390 Details for
Bug 690808
net-misc/netifrc does not support iwd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Basic /lib/netifrc/net/iwd.sh script
iwd.sh (text/plain), 1.09 KB, created by
Johannes Willem (Hans) Fernhout
on 2019-08-09 20:13:37 UTC
(
hide
)
Description:
Basic /lib/netifrc/net/iwd.sh script
Filename:
MIME Type:
Creator:
Johannes Willem (Hans) Fernhout
Created:
2019-08-09 20:13:37 UTC
Size:
1.09 KB
patch
obsolete
># Original copyright (c) 2007-2009 Roy Marples <roy@marples.name> ># Released under the 2-clause BSD license. > >iwd_depend() >{ > need dbus > after macnet plug > before interface > provide wireless > after iwconfig >} > >_config_vars="$_config_vars iwd" > >iwd_pre_start() >{ > local iwds=/usr/libexec/iwd > local args= opt= opts= > eval opts=\$iwd_${IFVAR} > > #set a "safe" default in case phy was not defined > PHY="phy0" > > for opt in ${opts}; do > case "${opt}" in > phy* ) PHY="${opt}" > einfo "Assigned PHY to be ${PHY}" > ;; > * ) ;; > esac > done > ebegin "Starting iwd on ${PHY} and ${IFVAR}" > pidfile="/run/iwd-${IFVAR}.pid" > start-stop-daemon --start --exec "${iwds}" --pidfile "${pidfile}" --background --verbose --make-pidfile -- -p ${PHY} -i "${IFVAR}" > return $? >} > > >iwd_post_stop() >{ > local iwds=/usr/libexec/iwd > pidfile="/run/iwd-${IFVAR}.pid" > if [ -f ${pidfile} ]; then > ebegin "Stopping iwd on ${IFACE}" > start-stop-daemon --stop --exec "${iwds}" --pidfile "${pidfile}" > eend $? > fi > > # If iwd exits uncleanly, we need to remove the stale dir > [ -S "/run/iwd/${IFACE}" ] \ > && rm -f "/run/iwd/${IFACE}" >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 690808
: 586390