restore installed package after upgrade

restore installed package after upgrade


Before upgrade

/listinstalled.sh
#!/bin/bash
opkg list-installed | cut -f 1 -d ' '


/bin/bash /listinstalled.sh > /installed


/etc/sysupgrade.conf
/listinstalled.sh
/installed




After upgrade
cat /installed | xargs -0 opkg install

Содержание