X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-preseed;h=add29bd903d99bf9c06bcf9bb3026874496b297d;hb=refs%2Ftags%2Fupstream%2F1.236.2;hp=c10315ebde24b0f025953b76678bb9d5feeb6eda;hpb=d70b77f919f85511936645abb95d710b80c10c74;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 <