Keeping my OpenWrt Router packages updated

Hello! I have a great OpenWrt experience after years with DD-WRT.
I have some scheluded tasks (reboot, refresh, etc..)
Just i need a working opkg upgrade script for scheluded update my packages!
I tried /usr/sbin/opkg-upgrade -l and /usr/sbin/opkg-upgrade -f but not working!
Can you help me?

Don’t do that. It is a recipe for disaster.

Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.


Ok... I can update my all packages with one press button or one command?

Nothing will stop you from updating packages, but as I said earlier, you might regret doing that.

The recommended way to update is to upgrade the entire openwrt image as new releases come out (I.e 19.07.2 > 19.07.3, etc).


Well, I did packed by packed update on software section few days ago, router bugged in reboot moment. No ethernet connection no wifi (Its already not working)

I solved via TFTP Soft Factory Reset which understand why upgrade whole packet means. :dancing_men:

It's time loss