1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-14 20:31:54 +00:00

Force JFFS2 mount if not already mounted

This commit is contained in:
Ycarus 2018-10-09 11:16:58 +02:00
parent 9185f940b3
commit 42d62cd89a

View file

@ -0,0 +1,7 @@
#!/bin/sh
do_firstboot() {
if [ "$(mount | grep jffs2)" = "" ]; then
/sbin/firstboot -y
fi
}
boot_hook_add preinit_main do_firstboot