Advertisement
s243a

configureWireless() - /usr/sbni/net-setup.sh - puppylinux

Oct 8th, 2016
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. # lines 1264 to 1279 of /usr/sbin/net-setup.sh (puppylinx)
  2. # http://www.pearltrees.com/s243a/configurewireless-puppylinux/id16437994
  3. configureWireless()
  4. {
  5. INTERFACE="$1"
  6. showProfilesWindow "$INTERFACE"
  7. case $? in
  8. 0)
  9. testInterface "$INTERFACE"
  10. ;;
  11. 2) # Dougal: add this for failed useProfile
  12. TOPMSG="$L_TOPMSG_Wireless_Config_Failed_p1 $INTERFACE $L_TOPMSG_Wireless_Config_Failed_p2"
  13. ;;
  14. *)
  15. TOPMSG="$L_TOPMSG_Wireless_Config_Cancelled_p1 $INTERFACE $L_TOPMSG_Wireless_Config_Cancelled_p2"
  16. ;;
  17. esac
  18. } # end configureWireless
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement