X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=debian-pxe-preseed;h=094294a4495ed58bb87a07dad1137d94d3a8cc3e;hb=cf3b64c21818d0033ffe5447d30e45141c81ee1b;hp=a3ed886b51655afc6e1c892d76a54d317d6e4090;hpb=ac4e0089e245c96a388b8fcdd92fc05da3399694;p=automated-distro-installer diff --git a/debian-pxe-preseed b/debian-pxe-preseed index a3ed886..094294a 100755 --- a/debian-pxe-preseed +++ b/debian-pxe-preseed @@ -28,8 +28,7 @@ e() { echo "$*"; "$@"; } mount_dir=$(mktemp -d) -cleanup() { cd; umount -f $mount_dir; } -_errcatch_cleanup=cleanup +err-cleanup() { cd; umount -f $mount_dir; } e mount -o users wrt:/mnt/usb $mount_dir