From: Otavio Salvador Date: Fri, 20 Feb 2009 23:32:09 +0000 (-0300) Subject: initramfs-uniboot: add support to start a shell and enable debug X-Git-Tag: Release-2010-05/1~3974^2~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83ab7056b38ea95541629897a1077651a64a0068;p=openembedded.git initramfs-uniboot: add support to start a shell and enable debug To start a shell, you just need to use 'shell' boot param while to enable shell debugging use 'debug'. --- diff --git a/packages/initrdscripts/files/init.sh b/packages/initrdscripts/files/init.sh index 5cdbab5e0d..65fef262b6 100644 --- a/packages/initrdscripts/files/init.sh +++ b/packages/initrdscripts/files/init.sh @@ -35,6 +35,8 @@ read_args() { ROOT_FSTYPE=$optarg ;; rootdelay=*) rootdelay=$optarg ;; + debug) set -x ;; + shell) sh ;; esac done }