Created
May 4, 2017 12:58
-
-
Save mindcont/0909a187c300b0ab1609d2be620311d2 to your computer and use it in GitHub Desktop.
upgrade software in openwrt
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
| #!/bin/sh | |
| opkg update | |
| for ipk in $(opkg list-upgradable | awk '$1!~/^kmod|^Multiple/{print $1}'); do | |
| opkg upgrade $ipk | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment