X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-preseed;h=add29bd903d99bf9c06bcf9bb3026874496b297d;hb=c967ebfc4e43fb16a0c2c140c66900712be95ab7;hp=c10315ebde24b0f025953b76678bb9d5feeb6eda;hpb=9fc9e2a1a11b0edada38cb501fefe4f58aa414ac;p=live-boot-grml.git diff --git a/bin/live-preseed b/bin/live-preseed index c10315e..add29bd 100755 --- a/bin/live-preseed +++ b/bin/live-preseed @@ -1,19 +1,32 @@ -#! /bin/sh +#!/bin/sh + set -e + PATH=/usr/sbin:/usr/bin:/sbin:/bin -root="$1" -question="$2" -value="$3" -seen="$4" -[ "$seen" ] || seen=true - -if ! (echo "SET $question $value"; echo "FSET $question seen $seen") | chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null; then - chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null <