diff --git a/hooks/common/30-disable-gettys b/hooks/common/30-disable-gettys index 208bdb9..0508490 100755 --- a/hooks/common/30-disable-gettys +++ b/hooks/common/30-disable-gettys @@ -4,9 +4,6 @@ # first console - that must remain so that 'xm console ...' works # correctly. # -# Steve -# -- -# http://www.steve.org.uk/ prefix=$1 diff --git a/hooks/edgy/30-disable-gettys b/hooks/edgy/30-disable-gettys index 1acb076..05e89ab 100755 --- a/hooks/edgy/30-disable-gettys +++ b/hooks/edgy/30-disable-gettys @@ -39,7 +39,7 @@ rm -f ${prefix}/etc/event.d/tty[!1] # if [ ! -z "${serial_device}" ]; then - serial_device=`basename ${serial_device}` + serial_device=`basename $serial_device` # Let the user know. logMessage "Replacing default serial device (hvc0) with ${serial_device}" diff --git a/hooks/intrepid/30-disable-gettys b/hooks/intrepid/30-disable-gettys index 1acb076..05e89ab 100755 --- a/hooks/intrepid/30-disable-gettys +++ b/hooks/intrepid/30-disable-gettys @@ -39,7 +39,7 @@ rm -f ${prefix}/etc/event.d/tty[!1] # if [ ! -z "${serial_device}" ]; then - serial_device=`basename ${serial_device}` + serial_device=`basename $serial_device` # Let the user know. logMessage "Replacing default serial device (hvc0) with ${serial_device}"