/usr/share/ltsp/plugins/ltsp-build-client/Debian/099-mount-cdrom is in ltsp-server 5.4.2-6+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # FIXME: this plugin is a hack to mount the cdrom, used by ltsp-client-builder
# udeb in debian-installer.
case "$MODE" in
commandline)
add_option "mount-cdrom" "`eval_gettext "mounts CDROM before installation"`" "advanced" "false"
;;
configure)
if [ -n "$option_mount_cdrom_value" ]; then
MOUNT_CDROM="true"
fi
;;
before-install)
if [ "$MOUNT_CDROM" = "true" ]; then
mount /media/cdrom
fi
;;
finalization)
if [ "$MOUNT_CDROM" = "true" ]; then
umount /media/cdrom
fi
;;
esac
|