Advertisement
s243a

rc.network() - /etc/rc/rc.d/rc.network - puppylinux

Oct 9th, 2016
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.44 KB | None | 0 0
  1. # lines 256 to 266 of /etc/rc.d/rc.network
  2. # http://www.pearltrees.com/s243a/celltoprofile-puppylinux/id16440750
  3. # function like assignProfileData, but for use with CELL_* for open networks
  4. cellToProfile(){
  5.     # assign to PROFILE_ names...
  6.     PROFILE_ESSID="$CELL_ESSID"
  7.     PROFILE_FREQ="$CELL_FREQ"
  8.     PROFILE_CHANNEL="$CELL_CHANNEL"
  9.     PROFILE_AP_MAC="$CELL_AP_MAC"
  10.     PROFILE_MODE="$CELL_MODE"
  11.     PROFILE_NWID=""
  12.     PROFILE_KEY=""
  13. } # cellToProfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement