X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=debian-pxe-preseed;h=bac251aba7349305c1b52f2c09abe4ab50298d39;hp=a3ed886b51655afc6e1c892d76a54d317d6e4090;hb=78a1427fc167ccee73d448054a9c40c19d737ed3;hpb=19fcc3931853969ed5aa97897795557d324cae39 diff --git a/debian-pxe-preseed b/debian-pxe-preseed index a3ed886..bac251a 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 +errcatch-cleanup() { cd; umount -f $mount_dir; } e mount -o users wrt:/mnt/usb $mount_dir