Advertisement
s243a

useProfile() - /usr/sbin/wag-profiles.sh - puppylinux

Oct 2nd, 2016
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. #Line 1244 of /usr/sbin/wag-profiles.sh
  2. #http://www.pearltrees.com/s243a/useprofile-profiles-puppylinux/id16403180
  3. useProfile ()
  4. {
  5.     case $PROFILE_ENCRYPTION in
  6.         WPA|WPA2)
  7.             useWpaSupplicant wizard || return 1
  8.             ;;
  9.         *)
  10.             if [ "$USE_WLAN_NG" ] ; then
  11.               useWlanctl || return 1
  12.             else
  13.               useIwconfig || return 1
  14.             fi
  15.             ;;     
  16.     esac
  17. } # end useProfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement