Differences

This shows you the differences between two versions of the page.

Link to this comparison view

openwrt:script_for_installing_packages_after_sysupgrade [2021/10/26 19:00] – created adminopenwrt:script_for_installing_packages_after_sysupgrade [2021/10/26 19:46] (current) admin
Line 90: Line 90:
 fi fi
 </code> </code>
-  + 
 +<code> 
 +chmod 755 /etc/package-list/persist.sh 
 +echo "*/5 * * * * flock -n /var/lock/persist.lock /etc/package-list/persist.sh" > /etc/crontabs/root 
 +echo "/etc/package-list/" >> /etc/sysupgrade.conf 
 +echo "/etc/crontabs/root" >> /etc/sysupgrade.conf 
 +echo "/root/.ssh/" >> /etc/sysupgrade.conf 
 +echo "/etc/config/autossh" >> /etc/sysupgrade.conf 
 +echo "/etc/init.d/autossh" >> /etc/sysupgrade.conf 
 +touch /usr/.extra-pakages-installed 
 +reboot 
 +</code>
  • openwrt/script_for_installing_packages_after_sysupgrade.txt
  • Last modified: 2021/10/26 19:46
  • by admin