diff --git a/deb/install.sh b/deb/install.sh deleted file mode 100755 index b01bc94..0000000 --- a/deb/install.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - -info() { - TERM=${TERM:-dumb} echo -e "$(tput setaf 4)- $@$(tput sgr0)" 1>&2 -} - -cmd() { - echo "[#] $*" >&2 - "$@" -} - -if [ $# -lt 2 ]; then - echo "Usage: $0 bootstrap_conf interface_name" - exit 1 -fi - -set -e - -conf="$1" -name="$2" - -info "installing wireguard config file." -cmd sudo mv $conf /etc/wireguard/$name.conf -cmd sudo chown root:root /etc/wireguard/$name.conf -cmd sudo chmod 600 /etc/wireguard/$name.conf - -info "enabling innernet service." -cmd sudo systemctl enable innernet@$name -cmd sudo systemctl start innernet@$name diff --git a/deb/package.sh b/deb/package.sh deleted file mode 100755 index cbb8a87..0000000 --- a/deb/package.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -set -e - -SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" -cd $SCRIPT_DIR/../client - -if ! cargo install --list | grep cargo-deb > /dev/null; then - cargo install cargo-deb -fi - -set -x - -cargo build --release -cargo deb --package client --no-build