|
@@ -105,6 +105,8 @@ function configure_ssh_client {
|
105
|
105
|
|
106
|
106
|
function mesh_babel {
|
107
|
107
|
sudo apt-get -y install babeld
|
|
108
|
+ sudo apt-get -y install irssi mumble
|
|
109
|
+ sudo apt-get -y install toxic
|
108
|
110
|
|
109
|
111
|
babel_script=/tmp/babel
|
110
|
112
|
|
|
@@ -189,6 +191,8 @@ function mesh_batman {
|
189
|
191
|
sudo apt-get -y install iproute bridge-utils libnetfilter-conntrack3 batctl
|
190
|
192
|
sudo apt-get -y install python-dev libevent-dev ebtables python-pip
|
191
|
193
|
sudo apt-get -y install wireless-tools rfkill
|
|
194
|
+ sudo apt-get -y install irssi mumble
|
|
195
|
+ sudo apt-get -y install toxic
|
192
|
196
|
|
193
|
197
|
batman_script=/tmp/batman
|
194
|
198
|
|
|
@@ -353,6 +357,15 @@ function mesh_batman {
|
353
|
357
|
echo ' else' >> $batman_script
|
354
|
358
|
echo ' service network-manager restart' >> $batman_script
|
355
|
359
|
echo ' fi' >> $batman_script
|
|
360
|
+ echo ' ' >> $batman_script
|
|
361
|
+ echo ' # restore tox bootstrap nodes for the internet' >> $batman_script
|
|
362
|
+ echo ' if [ -f /usr/share/toxic/DHTnodes.internet ]; then' >> $batman_script
|
|
363
|
+ echo ' mv /usr/share/toxic/DHTnodes.internet /usr/share/toxic/DHTnodes' >> $batman_script
|
|
364
|
+ echo ' fi' >> $batman_script
|
|
365
|
+ echo ' if [ -f /usr/local/share/toxic/DHTnodes.internet ]; then' >> $batman_script
|
|
366
|
+ echo ' mv /usr/local/share/toxic/DHTnodes.internet /usr/local/share/toxic/DHTnodes' >> $batman_script
|
|
367
|
+ echo ' fi' >> $batman_script
|
|
368
|
+ echo ' ' >> $batman_script
|
356
|
369
|
echo ' rm -f /tmp/meshtype' >> $batman_script
|
357
|
370
|
echo '}' >> $batman_script
|
358
|
371
|
echo '' >> $batman_script
|