Browse files

reverting rejected change

  • Loading branch information...
1 parent c516f43 commit 2f18add0fa013979e550825d8e7b47823f1dc394 @thatandromeda thatandromeda committed Jan 17, 2013
Showing with 21 additions and 5 deletions.
  1. +20 −0 LibraryBox 1.5/wireless
  2. +1 −5 alter_SSID.py
View
20 LibraryBox 1.5/wireless
@@ -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!'
+
View
6 alter_SSID.py
@@ -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"):')
@@ -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()

0 comments on commit 2f18add

Please sign in to comment.