X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=debian-pxe-preseed;h=094294a4495ed58bb87a07dad1137d94d3a8cc3e;hp=bac251aba7349305c1b52f2c09abe4ab50298d39;hb=9da78f3b703df721eb9e2c77c6f2e1456c9f4cc1;hpb=d4f7a9349a08f60957ca544f3d68a9b97015f6b9 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