2013-11-29 08:21:10 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Create AP Service
|
2014-08-16 11:31:29 -04:00
|
|
|
After=network.target
|
2013-11-29 08:21:10 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
ExecStart=/usr/bin/bash create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
|
2014-06-03 08:45:19 -04:00
|
|
|
ExecStop=pkill hostapd
|
2013-11-29 08:21:10 -05:00
|
|
|
KillSignal=SIGINT
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|