mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
fwupdate: add support for /prepare_initramfs script
This commit is contained in:
parent
9e3338c097
commit
f35e4c4a20
@ -41,6 +41,11 @@ trap on_exit EXIT
|
|||||||
msg "Waiting for sdcard"
|
msg "Waiting for sdcard"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
if [ -x /prepare_initramfs ]; then
|
||||||
|
msg "Preparing initramfs"
|
||||||
|
/prepare_initramfs
|
||||||
|
fi
|
||||||
|
|
||||||
msg "Mounting pseudo filesystems"
|
msg "Mounting pseudo filesystems"
|
||||||
mount -t devtmpfs devtmpfs /dev
|
mount -t devtmpfs devtmpfs /dev
|
||||||
mount -t proc proc /proc
|
mount -t proc proc /proc
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user