summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-07-20 17:37:42 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-07-20 20:58:34 +0200
commit8718c31928792c5d092eeca3d656924874a38aa1 (patch)
tree6aa6543a7531ac507afe6d45db403bce89d7170f /services
parentf9d75896f43950eaaaf1201b98736f94ccb7164b (diff)
Add service file for hostapd
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am2
-rw-r--r--services/hostapd.in7
2 files changed, 8 insertions, 1 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index 5ba6364..8f22675 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -7,7 +7,7 @@ init_DATA += services/sysfs services/procfs services/tmpfs
init_DATA += services/vfs services/ifrename services/ifcfg
init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
init_DATA += services/dnsmasq services/ifdown services/modules
-init_DATA += services/network
+init_DATA += services/network services/hostapd
if USYSLOGD
init_DATA += services/usyslogd
diff --git a/services/hostapd.in b/services/hostapd.in
new file mode 100644
index 0000000..172aa6f
--- /dev/null
+++ b/services/hostapd.in
@@ -0,0 +1,7 @@
+description "WIFI access point daemon"
+type respawn limit 10
+target boot
+after sysinit ifrename
+before network ifcfg
+
+exec hostapd "@ETCPATH@/hostapd.conf"