create_ap/create_ap.service

14 lines
242 B
SYSTEMD
Raw Normal View History

2013-11-29 23:21:10 +10:00
[Unit]
Description=Create AP Service
[Service]
Type=simple
ExecStart=/usr/bin/bash create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
ExecStop=pkill hostapd
2013-11-29 23:21:10 +10:00
KillSignal=SIGINT
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target