Skip to content

Commit

Permalink
Fixed bug in jffs2 extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
devttys0 committed Sep 27, 2013
1 parent 77d939a commit 9d1a11d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extract-firmware.sh
Expand Up @@ -190,11 +190,11 @@ case ${FS_TYPE} in
;;
"jffs2")
echo "Extracting JFFS2 file system..."
${SUDO} ./src/jffs2/unjffs2 "${FSIMG}" 2>/dev/null
${SUDO} ./src/jffs2/unjffs2 "${FSIMG}" 1>&2 2>/dev/null
# unjffs2 extracts to hard-coded directory of 'rootfs'
if [ -e "rootfs" ]
then
${SUDO} mv rootfs "${FSIMG}"
${SUDO} mv rootfs "${ROOTFS}"
fi
echo "MKFS='./src/jffs2/mkjffs2'" >> "${CONFLOG}"
;;
Expand Down

0 comments on commit 9d1a11d

Please sign in to comment.