Created
November 15, 2020 21:08
-
-
Save tie/92ee997e55b161278ac4fd2283d769b5 to your computer and use it in GitHub Desktop.
OpenWrt scheduled update and reboot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 5 * * * opkg update && opkg list-upgradable | cut -d ' ' -f 0 | xargs -r opkg --autoremove upgrade -- && reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment