Skip to content

Instantly share code, notes, and snippets.

@c1b3rh4ck c1b3rh4ck/op.sh
Created Jan 19, 2014

Embed
What would you like to do?
opkg quick installer
#!/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
You can’t perform that action at this time.