]> git.openpandora.org Git - openembedded.git/commitdiff
initramfs-uniboot: add support to start a shell and enable debug
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 20 Feb 2009 23:32:09 +0000 (20:32 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 23 Feb 2009 17:28:14 +0000 (14:28 -0300)
To start a shell, you just need to use 'shell' boot param while to
enable shell debugging use 'debug'.

packages/initrdscripts/files/init.sh

index 5cdbab5e0d2428cf7083fd66448a3a5ea73819cf..65fef262b61442a1320ffd289d821cff5fbd9963 100644 (file)
@@ -35,6 +35,8 @@ read_args() {
                 ROOT_FSTYPE=$optarg ;;
             rootdelay=*)
                 rootdelay=$optarg ;;
+            debug) set -x ;;
+            shell) sh ;;
         esac
     done
 }