summaryrefslogtreecommitdiffstats
path: root/templates/base/99_setup_EULAconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/99_setup_EULAconf.sh')
-rw-r--r--templates/base/99_setup_EULAconf.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/base/99_setup_EULAconf.sh b/templates/base/99_setup_EULAconf.sh
new file mode 100644
index 000000000..fe65f4ea6
--- /dev/null
+++ b/templates/base/99_setup_EULAconf.sh
@@ -0,0 +1,10 @@
+case "$EULA_ACCEPT" in
+ 1)
+ echo "" >> $BUILDDIR/conf/local.conf
+ echo "# EULA" >> $BUILDDIR/conf/local.conf
+ echo "ACCEPT_EULA_$MACHINE = \"1\"" >> $BUILDDIR/conf/local.conf
+ ;;
+ *)
+ ;;
+esac
+