SHARE
TWEET

Untitled

a guest Dec 6th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. ### BEGIN INIT INFO
  4. # Provides:          hostapd
  5. # Required-Start:
  6. # Required-Stop:
  7. # Should-Start:
  8. # Default-Start:     2 3 4 5
  9. # Default-Stop:
  10. # Short-Description: Hostapd Service
  11. # Description:       Intended to start hostapd on system startup.
  12. ### END INIT INFO
  13.  
  14. set -e
  15.  
  16. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
  17.  
  18. case "$1" in
  19.     start)
  20.         /usr/sbin/hostapd -B
  21.         ;;
  22.     *)
  23.         echo "Usage: $NAME {start}" >&2
  24.         exit 3
  25.         ;;
  26. esac
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top