Skip to content

Instantly share code, notes, and snippets.

View don-coleman's full-sized avatar

Don Coleman don-coleman

  • Barcelona/Berkeley
View GitHub Profile
@don-coleman
don-coleman / opkguinstalled
Created February 22, 2021 09:46
List all user-installed packages on OpenWrt - requires bash, and produces a more minimal list then other similar scripts.
#! /bin/bash
#
# We use bash associative arrays indexed by the package name.
#
opkg status \* | {
declare -A packages
declare -A packages_depends
declare -A packages_skip