|
@@ -143,6 +143,10 @@ function install_mesh_tunnel {
|
143
|
143
|
chroot "$rootdir" apt-get -yq install iproute bridge-utils libnetfilter-conntrack3 python-dev libevent-dev ebtables python-pip git
|
144
|
144
|
|
145
|
145
|
git clone https://github.com/wlanslovenija/tunneldigger $rootdir/opt/tunneldigger
|
|
146
|
+ if [ ! -d $rootdir/opt/tunneldigger/client ]; then
|
|
147
|
+ echo $'Unable to clone tunneldigger repo'
|
|
148
|
+ exit 1987453
|
|
149
|
+ fi
|
146
|
150
|
cd $rootdir/opt/tunneldigger/client
|
147
|
151
|
chroot "$rootdir" make
|
148
|
152
|
if [ ! -f $rootdir/opt/tunneldigger/client/l2tp_client ]; then
|