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 <