#!/bin/bash # shellcheck disable=SC2059 # $1 and $2 can contain the printf modifiers out() { printf "$1 $2\n" "${@:3}"; } error() { out "==> ERROR:" "$@"; } >&2 warning() { out "==> WARNING:" "$@"; } >&2 msg() { out "==>" "$@"; } die() { error "$@"; exit 1; } DEVICE="/dev/vda" mkdir repart || die 'Fehler beim erstellen des Directory' cd repart || die 'Fehler beim Directorywechsel' cat >10-esp.conf <20-root.conf <