Skip to content

Instantly share code, notes, and snippets.

@c1b3rh4ck
Created January 19, 2014 15:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c1b3rh4ck/8506098 to your computer and use it in GitHub Desktop.
Save c1b3rh4ck/8506098 to your computer and use it in GitHub Desktop.
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