From b90d32757dd219c82e187fe247c28c97f6d58cfe Mon Sep 17 00:00:00 2001 From: Aaron Ball Date: Thu, 29 Dec 2016 13:53:48 -0700 Subject: Fixed interactive support Interactive was spelled wrong. Also, the bash call was relative, not absolute, which was causing kernel panics when interactive mode was requested. --- init | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/init b/init index 2aa5be2..8168485 100755 --- a/init +++ b/init @@ -1,7 +1,7 @@ #!/bin/bash export DEBUG=0 -export INTERRACTIVE=0 +export INTERACTIVE=0 export ROOTDEV='' function screen_init { @@ -61,9 +61,9 @@ function parse_cmdline { # Enable debug mode (this is gonna be slow) DEBUG=1 ;; - interractive) - # Enable interractive mode - INTERRACTIVE=1 + interactive) + # Enable interactive mode + INTERACTIVE=1 ;; esac done @@ -148,10 +148,10 @@ function main { log "New rootdev: ${ROOTDEV}" fi - # Drop to interractive shell if requested - if [[ ${INTERRACTIVE} == 1 ]]; then + # Drop to interactive shell if requested + if [[ ${INTERACTIVE} == 1 ]]; then log "Interractive shell requested. Type 'exit' to continue boot sequence." - bash --norc + /bin/bash --norc fi # Mount the fakeroot. -- cgit v1.2.3