summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-xinitrd/initrd-stuff/init4
1 files changed, 3 insertions, 1 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init
index 3654c51c..9247e539 100755
--- a/initrd/initrd-stuff/init
+++ b/initrd/initrd-stuff/init
@@ -294,7 +294,7 @@ else
# run some specific stuff !?
fi
# script for stuff to execute during early bootup
-echo -e "#!/bin/sh\n# skeleton written from $0" >/mnt/etc/${D_INITDIR}/boot.ld
+d_mkbootld init
echo "fs complete" >/tmp/fscmpl
# write debug file information after filesystem setup completed
@@ -353,6 +353,8 @@ killall -9 dhcpcd dhclient pump 2>/dev/null
# unmount the bind mounted modules directory
umount -n /lib/modules/${KERNEL} || error "Unmount of the kernel \
modules directory failed for some reason."
+# close script for stuff to execute during early bootup
+d_mkbootld close
# reset hotplug
echo "/sbin/hotplug" > /proc/sys/kernel/hotplug
echo ""