Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=wifi detect automation
- Requires=wpa_supplicant.service
- After=wpa_supplicant.service
- [Service]
- Type=simple
- ExecStart=/sbin/wpa_cli -a /home/pi/test.sh -B
- Restart=always
- RemainAfterExit=yes
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement