mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2026-12-06 01:08:07 +00:00
Merge branch 'hotfix-1.0.1' into development
Conflicts: CHANGELOG piratebox/piratebox/bin/distribute_file_into_directory.sh piratebox/piratebox/bin/distribute_files.sh piratebox/piratebox/conf/piratebox.conf piratebox/piratebox/init.d/piratebox piratebox/piratebox/init.d/piratebox_alt piratebox/piratebox/src/HEADER.txt piratebox/piratebox/src/README.txt piratebox/piratebox/www/index.html
This commit is contained in:
commit
96a2d010d7
10 files changed
+31
-31
No files matched your search
@@ -10,7 +10,6 @@ CHANGELOG
|
||||
* [New] Simply python IRC Server installed and prepareable for automatic start
|
||||
* [Fix] License Adjustments
|
||||
|
||||
|
||||
=== 1.0.1 ===
|
||||
* [Fix] Fixed setting permissions of shoutbox datafile
|
||||
* [New] Service File for RPi image
|
||||
@@ -55,4 +54,5 @@ NOTE: This may only be a partial changelog, check github / your package manager
|
||||
|
||||
=== v0.6G ===
|
||||
* [Fixed] Hide dot files in directory-listing which are usually hidden files
|
||||
* [New] Image file is ext4 and 50MB
|
||||
* [Fix] Fixed captive Portal detection for iOS7
|
||||
@@ -55,28 +55,14 @@ PirateBox should be in most common repositories soon, but in the mean time you c
|
||||
##### For alpha testing
|
||||
|
||||
Download the package:
|
||||
https://github.com/MaStr/PirateBoxScripts_Webserver/archive/master.zip
|
||||
https://github.com/MaStr/PirateBoxScripts_Webserver/archive/development.zip
|
||||
|
||||
Unzip the package:
|
||||
$unzip master.zip
|
||||
$unzip development.zip
|
||||
|
||||
Run the installer in the unzipped folder:
|
||||
$ cd PirateBoxScripts_Webserver/piratebox
|
||||
$ sudo ./install.sh default #Default can be substituted with 'board' if you want an image board on your PB
|
||||
|
||||
Starting / Stopping PirateBox
|
||||
WARNING: Some major distributions have changed from init.d to systemd which means you should use the
|
||||
commands that are labeled under your distribution or what your distribution is based on. It should
|
||||
also be noted that as of recently Ubuntu has systemd enabled but not set as the default init system
|
||||
which means that you may have to use the systemctl commands.
|
||||
|
||||
Newest versions of Ubuntu, Fedora, Arch, OpenSUSE, Mageia, and Mandriva:
|
||||
$ systemctl start piratebox
|
||||
$ systemctl start piratebox
|
||||
$ systemctl restart piratebox
|
||||
|
||||
Older Ubuntu (xubuntu, lubuntu, etc), Mint, Debian, most Debian based distros:
|
||||
$ service piratebox start
|
||||
$ service piratebox stop
|
||||
$ service piratebox restart
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Matthias Strubel (c) 2014 - GPL3
|
||||
# matthias.strubel@aod-rpg.de
|
||||
#
|
||||
# The following script is used to distribute a specific file into directories of the givien folder
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
# Matthias Strubel (c) 2014 - GPL3
|
||||
# matthias.strubel@aod-rpg.de
|
||||
#
|
||||
|
||||
@@ -33,9 +33,27 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" , ".cgi" , ".py" )
|
||||
# Enable lighttpd on ipv6
|
||||
$SERVER["socket"] == "[::]:80" { }
|
||||
|
||||
dir-listing.encoding = "utf-8"
|
||||
server.dir-listing = "enable"
|
||||
dir-listing.hide-dotfiles = "enable"
|
||||
dir-listing.encoding = "utf-8"
|
||||
server.dir-listing = "enable"
|
||||
|
||||
# Grabs main css
|
||||
dir-listing.external-css = "/style.css"
|
||||
|
||||
# Header
|
||||
# Enables header section
|
||||
dir-listing.show-header = "enable"
|
||||
dir-listing.encode-header = "disable"
|
||||
# Hides HEADER.txt from listing
|
||||
dir-listing.hide-header-file = "enable"
|
||||
|
||||
# Footer
|
||||
# Enables footer section
|
||||
dir-listing.show-readme = "enable"
|
||||
dir-listing.encode-readme = "disable"
|
||||
# Hides README.txt from listing
|
||||
dir-listing.hide-readme-file = "enable"
|
||||
# Diables default footer text
|
||||
dir-listing.set-footer = " "
|
||||
|
||||
# Grabs main css
|
||||
dir-listing.external-css = "/style.css"
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
## licenced by GPL-3 ; feel free to improve or send me feedback
|
||||
##
|
||||
########
|
||||
|
||||
#######
|
||||
## Configuration help
|
||||
## If you plan to use one laptop as the piratebox:
|
||||
## Set DO_IFCONFIG , USE_APN, USE_DNSMASQ to yes
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<nav id="top-nav">
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="board/">Forum</a></li>
|
||||
<li><a href="/board/">Forum</a></li>
|
||||
<li><a href="/Shared/" class="current">Files</a></li>
|
||||
<li><a href="#about">About</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<div class="container">
|
||||
<p class="to-top"><a href="#header">Back to top</a></p>
|
||||
<h2>About PirateBox</h2>
|
||||
<p>Inspired by pirate radio and the free culture movment, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.</p>
|
||||
<p>Inspired by pirate radio and the free culture movement, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.</p>
|
||||
<p>PirateBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.</p>
|
||||
<small>PirateBox is licensed under GPLv3.</small>
|
||||
</div>
|
||||
</footer>
|
||||
</footer>
|
||||
@@ -6,8 +6,8 @@
|
||||
#
|
||||
|
||||
# System config
|
||||
use constant ADMIN_PASS => 'CHANGEME'; # Admin password. For fucks's sake, change this.
|
||||
use constant SECRET => 'CHANGEME'; # Cryptographic secret. CHANGE THIS to something totally random, and long.
|
||||
# use constant ADMIN_PASS => 'CHANGEME'; # Admin password. For fucks's sake, change this.
|
||||
# use constant SECRET => 'CHANGEME'; # Cryptographic secret. CHANGE THIS to something totally random, and long.
|
||||
#use constant CAPPED_TRIPS => ('!!example1'=>' capcode','!!example2'=>' <em>cap</em>'); # Admin tripcode hash, for startng threads when locked down, and similar. Format is '!trip'=>'capcode', where 'capcode' is what is shown instead of the trip. This can contain HTML, but keep it valid XHTML!
|
||||
|
||||
# Page look
|
||||
|
||||
@@ -75,11 +75,11 @@
|
||||
<div class="container">
|
||||
<p class="to-top"><a href="#header">Back to top</a></p>
|
||||
<h2>About PirateBox</h2>
|
||||
<p>Inspired by pirate radio and the free culture movment, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.</p>
|
||||
<p>Inspired by pirate radio and the free culture movement, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.</p>
|
||||
<p>PirateBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.</p>
|
||||
<small>PirateBox is licensed under GPLv3.</small>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Reference in new issue
Block a user