change terminfo extract to v3_init.sh

This commit is contained in:
Alfonso Gamboa 2022-04-19 20:20:05 -07:00
parent 223dddafff
commit dc1bc833d3
46 changed files with 8 additions and 3 deletions

View File

@ -61,6 +61,14 @@ fi
echo "mount configs partition for dropbear" echo "mount configs partition for dropbear"
mount -t jffs2 /dev/mtdblock6 /configs 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 if [[ -d /configs/.ssh ]]; then
echo "dropbear ssh config dir present" echo "dropbear ssh config dir present"
umount /configs umount /configs

View File

@ -1 +0,0 @@
Eterm

View File

@ -1 +0,0 @@
rxvt-basic

View File

@ -1 +0,0 @@
xterm