mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-10-10 01:18:05 +00:00
change terminfo extract to v3_init.sh
This commit is contained in:
@@ -61,6 +61,14 @@ fi
|
||||
echo "mount configs partition for dropbear"
|
||||
mount -t jffs2 /dev/mtdblock6 /configs
|
||||
|
||||
if [[ -d /opt/wz_mini/usr/share/terminfo ]]; then
|
||||
echo "terminfo already present"
|
||||
else
|
||||
echo "terminfo not present, extract"
|
||||
tar xf /opt/wz_mini/usr/share/terminfo.tar -C /opt/wz_mini/usr/share/
|
||||
|
||||
fi
|
||||
|
||||
if [[ -d /configs/.ssh ]]; then
|
||||
echo "dropbear ssh config dir present"
|
||||
umount /configs
|
||||
|
Reference in New Issue
Block a user