2020-03-20 09:03:28 +00:00
|
|
|
### BEGIN INIT INFO
|
2020-03-21 23:37:05 +00:00
|
|
|
# Provides: raspapd
|
2020-03-20 09:03:28 +00:00
|
|
|
# Required-Start: $remote_fs $syslog
|
|
|
|
# Required-Stop: $remote_fs $syslog
|
2020-03-22 09:06:23 +00:00
|
|
|
# Default-Start: S 2 3 4 5
|
2020-03-20 09:03:28 +00:00
|
|
|
# Default-Stop: 0 1 6
|
|
|
|
# Short-Description: Start RaspAP daemon at boot time
|
2020-03-22 09:06:23 +00:00
|
|
|
# Description: Enable service provided by daemon
|
2020-03-20 09:03:28 +00:00
|
|
|
### END INIT INFO
|
2020-03-22 09:06:23 +00:00
|
|
|
# Author: BillZ <billzimmerman@gmail.com>
|
2020-03-20 09:03:28 +00:00
|
|
|
|
2019-04-19 11:33:18 +00:00
|
|
|
[Unit]
|
2020-03-20 09:03:28 +00:00
|
|
|
Description=RaspAP Service Daemon
|
|
|
|
DefaultDependencies=no
|
2020-03-28 10:56:56 +00:00
|
|
|
After=multi-user.target
|
2019-04-19 11:33:18 +00:00
|
|
|
|
|
|
|
[Service]
|
2020-03-20 09:03:28 +00:00
|
|
|
Type=oneshot
|
2020-03-29 14:46:18 +00:00
|
|
|
ExecStart=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
|
2020-03-26 17:25:34 +00:00
|
|
|
RemainAfterExit=no
|
2019-04-19 11:33:18 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2020-03-20 09:03:28 +00:00
|
|
|
|