v5471/unpack_rootfs.sh
2017-06-13 16:17:12 -03:00

11 lines
158 B
Bash
Executable File

#!/bin/bash
[[ "$#" -lt 1 ]] && {
echo "unpack_rootfs.sh <version>"
exit
}
mkdir -p "squashfs-root"
tar -jxvf "rootfs_$1.tar.bz2" -C squashfs-root