mirror of https://github.com/OpenIPC/firmware.git
hotfix
parent
dcf9d0c198
commit
cf0afca185
|
@ -23,7 +23,7 @@ else
|
|||
flash_eraseall -j /dev/${mtdchrdev}
|
||||
echo "Done! Remounting..."
|
||||
mount -t jffs2 /dev/${mtdblkdev} /overlay || mount -t tmpfs tmpfs /overlay || exit
|
||||
if ! cat /etc/mtab | grep ${mtdblkdev}; then
|
||||
if ! cat /proc/mounts | grep ${mtdblkdev}; then
|
||||
echo "--------------------------------"
|
||||
echo "Crash - your flash in the trash!"
|
||||
echo "--------------------------------"
|
||||
|
|
Loading…
Reference in New Issue