From 28955fc830e526c0d49fbd299ba5500932d556ae Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 11 Aug 2011 01:22:53 +0200 Subject: util/auto/krebs: initial commit the auto/krebs utility is a tool to easily deploy the krebscode/painload on every machine. it will utilize the punani packet manager of krebs in order to install all the packets you want e.g. retiolum to join the 42::/16 network. The packet manager will use god mode in order to work correctly. --- util/auto/krebs | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 util/auto/krebs (limited to 'util/auto') diff --git a/util/auto/krebs b/util/auto/krebs new file mode 100644 index 00000000..33b33668 --- /dev/null +++ b/util/auto/krebs @@ -0,0 +1,59 @@ +#! /bin/sh +# krebs autoinstall script +set -euf +# see punanin docs + +function bailout() +{ + exit 1 +} +function punani() +{ + return 0 +} + +function generate_config() +{ + # $1 - + [ -e $1 ] && exit 0 + cat >$1 < Date: Fri, 12 Aug 2011 19:21:10 +0200 Subject: auto/krebs: finish auto script krebscode now auto-installable via curl | sh --- util/auto/krebs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/auto') diff --git a/util/auto/krebs b/util/auto/krebs index 33b33668..eb6c25a8 100644 --- a/util/auto/krebs +++ b/util/auto/krebs @@ -50,6 +50,8 @@ function edit_config() rm $CONF printf "I hate you by the way..." bailout + fi + make -C $1 } punani -Ei git make KREBSDIR=${1-/krebs} -- cgit v1.2.3