|
@@ -10,7 +10,7 @@ PEERS_FILE=/tmp/meshwebstart
|
10
|
10
|
|
11
|
11
|
ZERONET_REPO='https://github.com/bashrc/ZeroNet'
|
12
|
12
|
ZERONET_BLOG_REPO='https://github.com/HelloZeroNet/ZeroBlog'
|
13
|
|
-ZERONET_FORUM_REPO='https://github.com/HelloZeroNet/ZeroBoard'
|
|
13
|
+ZERONET_FORUM_REPO='https://github.com/HelloZeroNet/ZeroTalk'
|
14
|
14
|
ZERONET_URL=http://127.0.0.1:43110
|
15
|
15
|
ZERONET_PORT=15441
|
16
|
16
|
TRACKER_PORT=6969
|
|
@@ -242,6 +242,11 @@ function install_zeronet {
|
242
|
242
|
fi
|
243
|
243
|
cd $ZERONET_DIR
|
244
|
244
|
git checkout bashrc/bootstrap-file
|
|
245
|
+ # Hack to ensure that the file access port is opened
|
|
246
|
+ # This is because zeronet normally relies on an internet site
|
|
247
|
+ # to do this, but on a purely local mesh the internet isn't available
|
|
248
|
+ sed -i 's|fileserver_port = 0|fileserver_port = config.fileserver_port
|
|
249
|
+ sys.modules["main"].file_server.port_opened = True|g' $ZERONET_DIR/src/Site/Site.py
|
245
|
250
|
}
|
246
|
251
|
|
247
|
252
|
if [ -f /var/lib/batman ]; then
|