Advertisement
s243a

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

Oct 6th, 2016
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. configureWireless()
  2. {
  3.     INTERFACE="$1"
  4.     showProfilesWindow "$INTERFACE"
  5.     case $? in
  6.       0)
  7.         testInterface "$INTERFACE"
  8.         ;;
  9.       2) # Dougal: add this for failed useProfile
  10.         TOPMSG="$L_TOPMSG_Wireless_Config_Failed_p1 $INTERFACE $L_TOPMSG_Wireless_Config_Failed_p2"
  11.         ;;
  12.       *)
  13.         TOPMSG="$L_TOPMSG_Wireless_Config_Cancelled_p1 $INTERFACE $L_TOPMSG_Wireless_Config_Cancelled_p2"
  14.         ;;
  15.     esac
  16. } # end configureWireless
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement