aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/busybox-initscripts.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox-initscripts/busybox-initscripts.post-install')
-rw-r--r--main/busybox-initscripts/busybox-initscripts.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/busybox-initscripts/busybox-initscripts.post-install b/main/busybox-initscripts/busybox-initscripts.post-install
new file mode 100644
index 0000000000..11575f58b9
--- /dev/null
+++ b/main/busybox-initscripts/busybox-initscripts.post-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# this is for upgraders
+if [ -L /etc/runlevels/boot/mdev ]; then
+ mkdir -p /etc/runlevels/sysinit
+ mv /etc/runlevels/boot/mdev /etc/runlevels/sysinit/ 2>/dev/null
+fi
+exit 0
+