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