Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Installation scripts! instructions soon

  • Loading branch information...
commit 626e259bfe3543cd9f7cd881c462344cc088196b 1 parent beb0dc3
@griffey authored
Showing with 51 additions and 0 deletions.
  1. +25 −0 LibraryBox 1.5/librarybox.sh
  2. +26 −0 LibraryBox 1.5/libraryboxnochat.sh
View
25 LibraryBox 1.5/librarybox.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+echo "Press return, or enter custom path to /librarybox"
+read usrpath
+
+if [ "$usrpath" = "" ]
+then
+ path="/mnt/usb/librarybox"
+else
+ path="$usrpath"
+fi
+echo "Copying from $path"
+echo "Making your LibraryBox..."
+
+cp $path/droopy /opt/piratebox/bin/;
+cp $path/hosts /opt/piratebox/conf/;
+cp $path/index.html /opt/piratebox/chat/;
+cp $path/piratebox-logo-small.png /opt/piratebox/src/;
+cp $path/piratebox-logo.png /opt/piratebox/src/;
+cp $path/piratebox.conf /opt/piratebox/conf/;
+cp $path/wireless /etc/config/wireless/;
+
+cp $path/READ.ME.htm /opt/piratebox/src/;
+mv /opt/piratebox/src/READ.ME.htm /opt/piratebox/src/.READ.ME.htm;
+
+echo "Done! Enjoy your LibraryBox!"
View
26 LibraryBox 1.5/libraryboxnochat.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+echo "Press return, or enter custom path to /librarybox"
+read usrpath
+
+if [ "$usrpath" = "" ]
+then
+ path="/mnt/usb/librarybox"
+else
+ path="$usrpath"
+fi
+echo "Copying from $path"
+echo "Making your LibraryBox..."
+
+cp $path/droopy /opt/piratebox/bin/;
+cp $path/hosts /opt/piratebox/conf/;
+cp $path/index.html /opt/piratebox/chat/;
+cp $path/piratebox-logo-small.png /opt/piratebox/src/;
+cp $path/piratebox-logo.png /opt/piratebox/src/;
+cp $path/piratebox.nochat.conf /opt/piratebox/conf/;
+mv /opt/piratebox/conf/piratebox.nochat.conf /opt/piratebox/conf/piratebox.conf
+cp $path/wireless /etc/config/wireless/;
+
+cp $path/READ.ME.htm /opt/piratebox/src/;
+mv /opt/piratebox/src/READ.ME.htm /opt/piratebox/src/.READ.ME.htm;
+
+echo "Done! Enjoy your LibraryBox!"
Please sign in to comment.
Something went wrong with that request. Please try again.