Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. [Unit]
  2. Description=wifi detect automation
  3. Requires=wpa_supplicant.service
  4. After=wpa_supplicant.service
  5.  
  6. [Service]
  7. Type=simple
  8. ExecStart=/sbin/wpa_cli -a /home/pi/test.sh -B
  9. Restart=always
  10. RemainAfterExit=yes
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement