| Summary: | net-wireless/hostapd improved init script | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
| Component: | Current packages | Assignee: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | Low | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
hostapd-init.d
hostapd-init.d.diff |
||
Created attachment 373096 [details, diff]
hostapd-init.d.diff
The diff to show changes betweeen current and new init script.
Fixed, I have also moved the pid file from /var/run to /run |
Created attachment 373094 [details] hostapd-init.d Hi, please find attached an improved init script for hostapd. It uses new features from openrc and can be used as drop-in replacement for the current init script. The changes are: - it uses default start()/stop() functions from openrc - it uses a pidfile to store/obtain PID from running hostapd - less code in the script If you have any questions or need some help please let me know.