summaryrefslogtreecommitdiffstats
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 @@
1#!/bin/sh
2# busybox init does not have LSB ( sysvinit ) like initlevels
3# so lets fake it to 5 which is what we default anyway
4# this helps with opkg post installs where it tries to invoke
5# update-rc.d ad post install step.
6# for package upgrades
7# See code in update-rc.d around line 190 where it calls runlevel
8# program
9#
10echo "5"
11