Skip to content

Instantly share code, notes, and snippets.

@esters
Created August 7, 2019 12:00
Show Gist options
  • Save esters/a0d54b9edaf497be4ba7f8e7c92b1e3c to your computer and use it in GitHub Desktop.
Save esters/a0d54b9edaf497be4ba7f8e7c92b1e3c to your computer and use it in GitHub Desktop.
OpenWRT - List user installed packages
#!/bin/sh
for o in `opkg list-installed | awk '{ print $1}'`
do
opkg status $o | grep "user installed" -B 3 | awk '/Package:/{print $2}'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment