mirror of
https://github.com/pygos/init.git
synced 2024-11-24 20:10:42 +01:00
Add service file for hostapd
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
f9d75896f4
commit
8718c31928
4 changed files with 10 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -32,6 +32,7 @@ services/ifrename
|
|||
services/ifcfg
|
||||
services/ifdown
|
||||
services/modules
|
||||
services/hostapd
|
||||
|
||||
scripts/devfs.sh
|
||||
scripts/ifrename.sh
|
||||
|
|
|
@ -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])
|
||||
|
|
|
@ -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
|
||||
|
|
7
services/hostapd.in
Normal file
7
services/hostapd.in
Normal file
|
@ -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"
|
Loading…
Reference in a new issue