Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466082 - net-wireless/wpa_supplicant - register wpa_cli actions in init.d script
Summary: net-wireless/wpa_supplicant - register wpa_cli actions in init.d script
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-16 11:27 UTC by Wilke Schwiedop
Modified: 2013-04-25 14:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
register all scripts found in /etc/wpa_supplicant/action.d/ (wpa_supplicant-init.d.patch,350 bytes, patch)
2013-04-16 11:27 UTC, Wilke Schwiedop
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wilke Schwiedop 2013-04-16 11:27:53 UTC
Created attachment 345682 [details, diff]
register all scripts found in /etc/wpa_supplicant/action.d/

wpa_supplicant allows you to register callback scripts to react to various wireless-related events. (See -a flag for wpa_cli)
These callbacks must be registered while wpa_supplicant is running and are automatically shut down when wpa_supplicant does.
This patch registers all scripts found in /etc/wpa_supplicant/action.d/ when wpa_supplicant starts.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-04-24 23:07:28 UTC
both version 1.1 and version 2.0 don't seem to install anything in /etc/wpa_supplicant/action.d (there isn't even a folder there when I install).  Can you please explain your request a bit better?
Comment 2 Wilke Schwiedop 2013-04-25 10:35:23 UTC
wpa_cli does not care where the callback scripts are located. I simply chose /etc/wpa_supplicant/action.d as a central location where the init script looks for callback scripts.
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2013-04-25 14:21:18 UTC
(In reply to comment #2)
> wpa_cli does not care where the callback scripts are located. I simply chose
> /etc/wpa_supplicant/action.d as a central location where the init script
> looks for callback scripts.

If gentoo doesn't ship any scripts I don't think we should load any scripts automatically.  I believe this is best to leave to the user.