| Summary: | net-wireless/hostapd init script is not POSIX-compliant | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Davide Pesavento (RETIRED) <pesa> |
| Component: | Current packages | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | gurligebis |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | hostapd-initd.patch | ||
|
Description
Davide Pesavento (RETIRED)
2009-05-08 21:14:22 UTC
More info on how it fails is very appropriate. Created attachment 190706 [details, diff]
hostapd-initd.patch
Fixes the bashism and also contains a small optimization in depend() when multiple interfaces are used.
The reload() action would be better written as follows:
start-stop-daemon --signal HUP /usr/sbin/hostapd
but I think this code isn't backward-compatible with baselayout-1, so this hasn't changed in the above patch.
Fixed in CVS, should hit the tree within 1-2 hours |