akhilkalwakurthy

wifi module service

Feb 12th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. [Unit]
  2. Description=Load wifi module
  3. After=droid-late-start.service
  4. Before=network.target
  5. Conflicts=shutdown.target actdead.target
  6.  
  7. [Service]
  8. Type=simple
  9. RemainAfterExit=yes
  10. ExecStartPre=/bin/sleep 10
  11. ExecStart=/sbin/modprobe pronto_wlan
  12. ExecStop=/sbin/rmmod wlan
  13. Restart=on-failure
  14. RestartSec=2
  15.  
  16. [Install]
  17. WantedBy=basic.target
Add Comment
Please, Sign In to add comment