clean scripts, no longer need preamble

This commit is contained in:
2016-05-14 20:25:27 +01:00
parent 54ab11a689
commit 878ef2ecd9
40 changed files with 60 additions and 294 deletions

View File

@@ -1,18 +1,9 @@
#!/bin/bash
set -e
source /build/config
set -x
## Environment
export_env HAMACHI_DATA /host/var/lib/logmein-hamachi
export_env HAMACHI_VERSION 2.1.0.119
## Hamachi dependency
## Dependencies
apt_install_permanent lsb-core net-tools socat strace
## Hamachi
cd /opt
export HAMACHI_DATA=/host/var/lib/logmein-hamachi
export HAMACHI_VERSION=2.1.0.119
wget -O hamachi.deb https://secure.logmein.com/labs/logmein-hamachi_$HAMACHI_VERSION-1_amd64.deb
mkdir -p /etc/service/hamachi
cp /build/runit/hamachi /etc/service/hamachi/run
## Environment variables
echo -n $HAMACHI_DATA > /etc/container_environment/HAMACHI_DATA
wget -P /opt -O hamachi.deb https://secure.logmein.com/labs/logmein-hamachi_$HAMACHI_VERSION-1_amd64.deb