mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
sleep 2 seconds after having loaded g_uzip.ko. We need this because
otherwise the /dev/mdX.uzip won't be created immediately, which is needed because we issue a mount right afterwards. Approved by: re@ (bmah@) MFC after: 2 days
This commit is contained in:
parent
046bcd1bcf
commit
63f45c4bdf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171956
@ -115,6 +115,8 @@ mdconfig_start()
|
||||
fi
|
||||
if [ "${_file}" != "${_file%.uzip}" ]; then
|
||||
load_kld -m g_uzip geom_uzip || return 3
|
||||
# sleep a bit to allow creation of /dev/mdX.uzip
|
||||
sleep 2
|
||||
fi
|
||||
fi
|
||||
if mdconfig -l -u ${_md} >/dev/null 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user