summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_bootstrap')
-rwxr-xr-xhelpers/lh_bootstrap19
1 files changed, 19 insertions, 0 deletions
diff --git a/helpers/lh_bootstrap b/helpers/lh_bootstrap
new file mode 100755
index 0000000..9d1170d
--- /dev/null
+++ b/helpers/lh_bootstrap
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# lh_bootstrap(1) - bootstrap a Debian system
+
+set -e
+
+# Source common functions
+for FUNCTION in /usr/share/live-helper/functions/*.sh
+do
+ . ${FUNCTION}
+done
+
+# Reading configuration files
+Read_conffile config/common
+Read_conffile config/bootstrap
+Set_defaults
+
+# Bootstrapping system
+lh_bootstrap_"${LH_BOOTSTRAP}"