#!/bin/sh ##=====================================================================## ## Copyright (c) 2001-2002 Stephen Zarkos. All rights reserved. ## Obsid@Sentry.net ## ## Please see file: COPYRIGHT for further copyright information and ## disclaimer. Or online at http://www.SentryFirewall.com/files/COPYRIGHT ##=====================================================================## ## File: mkiso.sh ## Please see file: http://www.SentryFirewall.com/files/COPYRIGHT for ## important copyright and disclaimer information. boot_catalog="isolinux/eltorito.cat" boot_img="isolinux/isolinux.bin" iso_image="/sentrycd.iso" ## Full path/name to where the iso image will be put. root_dir="/cdrom" version="1.2.0RH-BETA5" ## CD to root directory to start work. cd $root_dir echo "Preparing to make iso image," echo " - Current working directory: `pwd`" echo " - Command to run: " echo " mkisofs -o $iso_image -R -V \"Sentry Firewall CD [v${version}]\" -v \ " echo " -T -d -D -N \ " echo " -b $boot_img \ " echo " -c $boot_catalog \ " echo " -no-emul-boot -boot-load-size 4 -boot-info-table \ " echo " -A \"Sentry Firewall CD v${version}\" ." echo if [ ! -f $root_dir/isolinux/isolinux.bin ]; then echo "ERROR: $root_dir/isolinux/isolinux.bin does not exist." echo "Exiting." exit fi echo "Hit if the above is correct, otherwise ^C" read blah ## Run Command mkisofs -o $iso_image -R -V "Sentry Firewall CD [v${version}]" -v \ -T -d -D -N \ -b $boot_img \ -c $boot_catalog \ -no-emul-boot -boot-load-size 4 -boot-info-table \ -A "Sentry Firewall CD v${version}" . ## OLD(used with 2.88 disk image ## ## Run Command #mkisofs -o $iso_image -R -V "Sentry Firewall" -v \ # -T -d -D -N \ # -b $boot_img \ # -c $boot_catalog \ # -A "Sentry Firewall ver.1.0" . ## _EOF_ ##