pmlag

Poor man's link aggregation
git clone git://git.finwo.net/app/pmlag
Log | Files | Refs | README | LICENSE

commit 297285bf8b9a783e4d2963e33284f97ab0d08d18
parent 7169a52a8b64670c0f53d9301bfc78ac7bc66ec1
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Thu, 16 Mar 2023 22:31:11 +0100

Added basic install script

Diffstat:
MREADME.md | 7+++++++
Ainstall.sh | 20++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -5,6 +5,13 @@ pmlag pmlag is a tool for bonding network interfaces together when the hardware on the other side of the cable(s) doesn't support it. +TL;DR; +------ + +```sh +curl -sSL https://raw.githubusercontent.com/finwo/pmlag/edge/install.sh | bash +``` + Getting started --------------- diff --git a/install.sh b/install.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env + +TARGET=linux-amd64 + +echo -n "Downloading tarball..." +curl -sSL https://github.com/finwo/pmlag/releases/download/edge/pmlag-${TARGET}.tar.gz -o - \ + gzip -d \ + tar x +echo "done" + +echo "Installing binaries..." +cd pmlag +make install + +if [ -d /etc/init.d ]; then + echo "Installing openrc service..." + make svc_openrc +fi + +echo "Finished"