mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			hotfix
							parent
							
								
									dcf9d0c198
								
							
						
					
					
						commit
						cf0afca185
					
				|  | @ -23,7 +23,7 @@ else | ||||||
| 	flash_eraseall -j /dev/${mtdchrdev} | 	flash_eraseall -j /dev/${mtdchrdev} | ||||||
| 	echo "Done! Remounting..." | 	echo "Done! Remounting..." | ||||||
| 	mount -t jffs2 /dev/${mtdblkdev} /overlay || mount -t tmpfs tmpfs /overlay || exit | 	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 "--------------------------------" | ||||||
| 	  echo "Crash - your flash in the trash!" | 	  echo "Crash - your flash in the trash!" | ||||||
| 	  echo "--------------------------------" | 	  echo "--------------------------------" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue