fix path for ssh keys on upgrade script

This commit is contained in:
Alfonso Gamboa 2022-05-28 05:45:45 -07:00
parent e301cb2c06
commit 8bd4e16fed

View File

@ -22,7 +22,7 @@ mv /opt/Upgrade/wz_mini_hacks-master/SD_ROOT/wz_mini/* /opt/wz_mini/
rm -f /opt/factory_t31_ZMC6tiIDQN rm -f /opt/factory_t31_ZMC6tiIDQN
mv /opt/Upgrade/wz_mini_hacks-master/SD_ROOT/factory_t31_ZMC6tiIDQN /opt/factory_t31_ZMC6tiIDQN mv /opt/Upgrade/wz_mini_hacks-master/SD_ROOT/factory_t31_ZMC6tiIDQN /opt/factory_t31_ZMC6tiIDQN
cp /opt/Upgrade/preserve/authorized_keys /opt/wz_mini/etc/ cp /opt/Upgrade/preserve/authorized_keys /opt/wz_mini/etc/ssh/
cp /opt/Upgrade/preserve/wz_mini.conf /opt/wz_mini/ cp /opt/Upgrade/preserve/wz_mini.conf /opt/wz_mini/
rm -rf /opt/Upgrade rm -rf /opt/Upgrade
sync sync