基于 Pandorabox for MiWiFi mini 的 r1696 版。并使用 @rssnsj 的 firmware-tools 工具进行解包,若需要打包,则需要这里的版本:firmware-tools.
# 由于 git 不能索引空目录,所以必须还原空目录
mkdir -p \
squashfs-root/dev/ \
squashfs-root/etc/crontabs \
squashfs-root/lib/uci/upload \
squashfs-root/mnt/ \
squashfs-root/overlay/ \
squashfs-root/proc/ \
squashfs-root/root/ \
squashfs-root/sys/ \
squashfs-root/tmp/ \
squashfs-root/usr/lib/lua/luci/model/cbi/admin_services/ \
squashfs-root/usr/lib/opkg/lists/ \
squashfs-root/usr/share/dbus-1/services/ \
squashfs-root/usr/share/dbus-1/session.d/ \
squashfs-root/usr/share/dbus-1/system.d/ \
squashfs-root/usr/share/dbus-1/system-services/
# 打包
openwrt-repack.sh -R pandorabox.bin