Created
September 18, 2018 17:54
-
-
Save NERD-k/be5f25105b10447d1800867e412f65ef to your computer and use it in GitHub Desktop.
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