From: Ulrich Dangel Date: Tue, 27 Oct 2009 20:18:03 +0000 (+0100) Subject: Adjust bsd entry for network boot and drop grub entries for network boot. X-Git-Tag: v0.99.8~1 X-Git-Url: http://git.grml.org/?p=grml-terminalserver.git;a=commitdiff_plain;h=8227176e4d324873b6bd892d9771441d2d61ef25 Adjust bsd entry for network boot and drop grub entries for network boot. --- diff --git a/templates/grub-pxelinux_config b/templates/grub-pxelinux_config index f80c4a7..8870d45 100644 --- a/templates/grub-pxelinux_config +++ b/templates/grub-pxelinux_config @@ -114,6 +114,12 @@ if [ ! -z "$live_media_path_" ] ; then sed -i -e 's/\(.*append.*\)/\1 live-media-path='$live_media_path_'/' "$TFTPD_DATA_DIR_/"*.cfg 2>/dev/null fi +# adjust ldbsd.com bootline +sed -i -e 's#\(.*kernel .*/ldbsd.com\)#\1 set image /boot/addons/bsd4grml/bsd.rd`echo Type "boot" to load MirOS bsd4grml via keeppxe#' "$TFTPD_DATA_DIR_/"addon_*_bsd.cfg + +# remove grub entries +rm "$TFTPD_DATA_DIR_/"addon_*grub*.cfg + mv "$TFTPD_DATA_DIR_/syslinux.cfg" "$TFTPD_DATA_DIR_/pxelinux.cfg/default" rm -rf "$DEST_DIR"