Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

deleted, didn't work as expected

  • Loading branch information...
commit d4edeb8228dbbb928fad6872bb102bb368cb6c7c 1 parent 0b65359
@griffey authored
Showing with 0 additions and 23 deletions.
  1. +0 −23 LibraryBox 1.5/librarybox_edits.py
View
23 LibraryBox 1.5/librarybox_edits.py
@@ -1,23 +0,0 @@
-#!/usr/bin/env python
-from os import remove, rename
-
-def alter_SSID():
- """
- customize the SSID for Librarybox
- """
- source = open('/etc/config/wireless', 'r')
- destination = open('/etc/config/wireless_new', 'w')
-
- for line in source:
- if (line.find('PirateBox - Share Freely') > -1):
- line = line.replace('PirateBox - Share Freely', 'LibraryBox - Free Content!')
- destination.write(line)
-
- source.close()
- destination.close()
-
- rename('/etc/config/wireless', '/etc/config/wireless_old')
- rename('/etc/config/wireless_new', '/etc/config/wireless')
-
-if __name__=="__main__":
- alter_SSID()
Please sign in to comment.
Something went wrong with that request. Please try again.