From 8718c31928792c5d092eeca3d656924874a38aa1 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 20 Jul 2018 17:37:42 +0200 Subject: Add service file for hostapd Signed-off-by: David Oberhollenzer --- .gitignore | 1 + configure.ac | 1 + services/Makemodule.am | 2 +- services/hostapd.in | 7 +++++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 services/hostapd.in diff --git a/.gitignore b/.gitignore index 086e96f..f1b0640 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ services/ifrename services/ifcfg services/ifdown services/modules +services/hostapd scripts/devfs.sh scripts/ifrename.sh diff --git a/configure.ac b/configure.ac index 63fe498..f6fd637 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,7 @@ AC_CONFIG_FILES([services/ifrename]) AC_CONFIG_FILES([services/ifcfg]) AC_CONFIG_FILES([services/ifdown]) AC_CONFIG_FILES([services/modules]) +AC_CONFIG_FILES([services/hostapd]) AC_CONFIG_FILES([scripts/devfs.sh]) AC_CONFIG_FILES([scripts/ifrename.sh]) AC_CONFIG_FILES([scripts/ifcfg.sh]) 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" -- cgit v1.2.3