summaryrefslogtreecommitdiff
path: root/packages/initrdscripts
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2009-02-20 20:32:09 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2009-02-23 14:28:14 -0300
commit83ab7056b38ea95541629897a1077651a64a0068 (patch)
tree9ffed4c9a3ea4197b0ac2492914f3741b070a70c /packages/initrdscripts
parent3881ea711293c84a10757b01d768483ed8a9f4c2 (diff)
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'.
Diffstat (limited to 'packages/initrdscripts')
-rw-r--r--packages/initrdscripts/files/init.sh2
1 files changed, 2 insertions, 0 deletions
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
}