Skip to content

Instantly share code, notes, and snippets.

@ichpuchtli
Last active September 13, 2017 16:05
Show Gist options
  • Save ichpuchtli/7670530 to your computer and use it in GitHub Desktop.
Save ichpuchtli/7670530 to your computer and use it in GitHub Desktop.
create_ap systemd service
[Unit]
Description=Create AP Service
[Service]
Type=simple
ExecStart=/usr/bin/bash /usr/lib/systemd/scripts/create_ap -n -g 10.0.0.1 wlan0 AccessPointSSID
KillSignal=SIGINT
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment