Created
January 19, 2014 15:07
-
-
Save c1b3rh4ck/8506098 to your computer and use it in GitHub Desktop.
opkg quick installer
This file contains 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/bash | |
#feedback:hfjimenez@utp.edu.co | |
#install the luci interface web using an offline method | |
#hackaton 9 de ag you will need to upload this to 192.168.1.1 /tmp! | |
pkgs=(blua lua libuci-lua libubus-lua uhttpd luci-lib-ipkg luci-i18n-english luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-theme-base luci-theme-openwrt luci-mod-admin-core luci-mod-admin-full) | |
for pkg in "${pkgs[*]} | |
do | |
opkg install /tmp/luci-offline-packages/$pkg*.ipk | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment