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.
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