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