]> xenbits.xensource.com Git - people/dariof/xen-tools.git/commitdiff
Make common/30-disable-gettys and {edgy,intrepid}/30-disable-gettys more similar
authorAxel Beckert <abe@deuxchevaux.org>
Mon, 4 Jun 2012 16:57:36 +0000 (18:57 +0200)
committerAxel Beckert <abe@deuxchevaux.org>
Mon, 4 Jun 2012 16:57:36 +0000 (18:57 +0200)
hooks/common/30-disable-gettys
hooks/edgy/30-disable-gettys
hooks/intrepid/30-disable-gettys

index 208bdb953364773f12048a28406972793987a475..05084908aeba20166ad86adc8ba0c04b9736c095 100755 (executable)
@@ -4,9 +4,6 @@
 # first console - that must remain so that 'xm console ...' works
 # correctly.
 #
-# Steve
-# --
-# http://www.steve.org.uk/
 
 
 prefix=$1
index 1acb076466f3677614bb562d840c619caf218c47..05e89ab9122e496795b94c5bd9995e5ca18aa8fa 100755 (executable)
@@ -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}"
index 1acb076466f3677614bb562d840c619caf218c47..05e89ab9122e496795b94c5bd9995e5ca18aa8fa 100755 (executable)
@@ -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}"