openvpn-bonding
openvpn-bonding copied to clipboard
Install strings with busybox.
Feeding off #7. Install "string" would be like:
apt -qy install curl busybox &&
curl https://raw.githubusercontent.com/onemarcfifty/openvpn-bonding/best/init.sh|busybox sh -s server-install
Where best
would be a branch with the current recommended version. init.sh
is a bad name, but it may contain all the code created/compiled at commit time by git hooks... or it could use curl X|busybox sh -s
to get at the appropriate code, it's not like any involved host should want for internet access.
Something like: https://bash.cyberciti.biz/guide/Menu_driven_scripts At the end the server config could optionaly print the correct input to paste into the corresponding client host, including the install string.
Edit: I was just thinking about a best
branch in practice, I don't know if raw.githubusercontent.com
would honor the gitattribute ident
or if git foo like that is even an option to retrieve the commit id in an init.sh
script that pulls other scripts with curl.