From 83ab7056b38ea95541629897a1077651a64a0068 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 20 Feb 2009 20:32:09 -0300 Subject: 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'. --- packages/initrdscripts/files/init.sh | 2 ++ 1 file changed, 2 insertions(+) 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 } -- cgit v1.2.3