summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-25 18:23:02 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-12-25 18:23:02 -0500
commit6b04052af291e146a71100112f494134a6fbc486 (patch)
treefb301f0d2b7403d0448ee8ed9c3cf1639dd541a7 /init
parent5848b0ecb41a4d65f95f5247ea8ba2853271085a (diff)
downloadminitramfs-6b04052af291e146a71100112f494134a6fbc486.tar.xz
minitramfs-6b04052af291e146a71100112f494134a6fbc486.zip
wait after kill
Diffstat (limited to 'init')
-rw-r--r--init1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index 2f67165..e1e259e 100644
--- a/init
+++ b/init
@@ -32,6 +32,7 @@ e2fsck -C 0 -E inode_count_fullmap -p /dev/mapper/root || exit
mount -o nodev /dev/mapper/root /mnt || exit
kill -9 -1
+wait
cd /mnt || exit
if [ -n "$autologin" ]; then