X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=5a9eed020ac7e8547aa531a3eaf0e97ce4182c7a;hp=cc086ef3c98e59f9422f04b55e7a96db748b8e7f;hb=0b91f048b0edb4a0116c74b5b9656d75f7b88b9e;hpb=d95a0f3d34653850add67f892603695d5fceb3d6 diff --git a/grml2usb b/grml2usb index cc086ef..5a9eed0 100755 --- a/grml2usb +++ b/grml2usb @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Jun 08 18:06:54 CEST 2007 [mika] +# Latest change: Don Sep 13 01:38:26 CEST 2007 [mika] ################################################################################ # colors {{{ @@ -81,7 +81,7 @@ Usage: /mount/point should not be mounted at the time running $PROGRAMNAME Usage example - install grml-small to usb-device on /mnt/external1: - $PROGRAMNAME grml_small_0.2.iso /mnt/external1 + $PROGRAMNAME grml_small_0.4.iso /mnt/external1 Usage example - install currently running grml to usb-device on /mnt/external1: $PROGRAMNAME /cdrom /mnt/external1 @@ -200,8 +200,13 @@ run_syslinux(){ SYSDEV=$(echo ${TMPDEV%/}) echo -n "Running syslinux on ${SYSDEV}: " debugit "debug: syslinux ${SYSDEV}" - syslinux ${SYSDEV} && echo "${WHITE}done${NORMAL}" || echo 1>&2 "${RED}Problem when running syslinux? + if syslinux ${SYSDEV} ; then + echo "${WHITE}done${NORMAL}" + else + echo 1>&2 "${RED}Problem when running syslinux? Try to call it manually via "syslinux $SYSDEV" if you installed grml to $SYSDEV'${NORMAL}" + return 1 + fi } # }}}