summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit14
1 files 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.

Generated by cgit