mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
						commit
						bb1704b373
					
				|  | @ -76,7 +76,7 @@ check_release() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| mount_rootfs() { | mount_rootfs() { | ||||||
|   mkdir /tmp/rootfs |   mkdir -p /tmp/rootfs | ||||||
|   loop=$(losetup -f) |   loop=$(losetup -f) | ||||||
|   [ $? -eq 0 ] && losetup "${loop}" "${1}" && mount "${loop}" /tmp/rootfs |   [ $? -eq 0 ] && losetup "${loop}" "${1}" && mount "${loop}" /tmp/rootfs | ||||||
|   if [ $? -eq 0 ]; then |   if [ $? -eq 0 ]; then | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue