Skip to content

Commit

Permalink
reverting rejected change
Browse files Browse the repository at this point in the history
  • Loading branch information
thatandromeda committed Jan 18, 2013
1 parent c516f43 commit 2f18add
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
20 changes: 20 additions & 0 deletions LibraryBox 1.5/wireless
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option macaddr 'f8:d1:11:9e:87:fc'
option hwmode '11ng'
option htmode 'HT20'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option disabled '0'

config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'none'
option ssid 'LibraryBox - Free Content!'

6 changes: 1 addition & 5 deletions alter_SSID.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
def alter_SSID():
"""
customize the SSID for Librarybox
prompts user for SSID (defaults to "Librarybox - Free Content")
"""
mySSID = raw_input('Please choose an SSID (press enter for "Librarybox - Free Content"):')

Expand All @@ -13,10 +12,7 @@ def alter_SSID():

for line in source:
if (line.find('PirateBox - Share Freely') > -1):
if mySSID:
line = line.replace('PirateBox - Share Freely', mySSID)
else:
line = line.replace('PirateBox - Share Freely', 'LibraryBox - Free Content!')
line = line.replace('PirateBox - Share Freely', 'LibraryBox - Free Content!')
destination.write(line)

source.close()
Expand Down

0 comments on commit 2f18add

Please sign in to comment.