mirror of
https://github.com/outbackdingo/firmware.git
synced 2026-01-28 10:18:58 +00:00
hotfix
This commit is contained in:
@@ -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 "--------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user