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