aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files/runlevel
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/files/runlevel')
-rw-r--r--meta/recipes-core/busybox/files/runlevel11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/runlevel b/meta/recipes-core/busybox/files/runlevel
new file mode 100644
index 0000000000..866f3b5945
--- /dev/null
+++ b/meta/recipes-core/busybox/files/runlevel
@@ -0,0 +1,11 @@
+#!/bin/sh
+# busybox init does not have LSB ( sysvinit ) like initlevels
+# so lets fake it to 5 which is what we default anyway
+# this helps with opkg post installs where it tries to invoke
+# update-rc.d ad post install step.
+# for package upgrades
+# See code in update-rc.d around line 190 where it calls runlevel
+# program
+#
+echo "5"
+