From b551e33292a0bd1c4460ef693dd8ebd2119c4488 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 6 Jul 2010 19:22:42 +0200 Subject: [PATCH] busybox: add runlevel 'installer' Signed-off-by: Stephan Raue --- packages/sysutils/busybox/config/profile | 3 +++ packages/sysutils/busybox/profile.d/runlevel.conf | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/packages/sysutils/busybox/config/profile b/packages/sysutils/busybox/config/profile index 395c8918d1..1b2cce248d 100644 --- a/packages/sysutils/busybox/config/profile +++ b/packages/sysutils/busybox/config/profile @@ -4,6 +4,9 @@ textmode) TEXTMODE=yes ;; + installer) + INSTALLER=yes + ;; debugging) DEBUG=yes ;; diff --git a/packages/sysutils/busybox/profile.d/runlevel.conf b/packages/sysutils/busybox/profile.d/runlevel.conf index 94bc54df8f..5ce5a72bdd 100644 --- a/packages/sysutils/busybox/profile.d/runlevel.conf +++ b/packages/sysutils/busybox/profile.d/runlevel.conf @@ -7,8 +7,13 @@ # getting runlevel RUNLEVEL="openelec" + if test "$TEXTMODE" = yes; then RUNLEVEL="textmode" fi + if test "$INSTALLER" = yes; then + RUNLEVEL="installer" + fi + export RUNLEVEL \ No newline at end of file