Skip to content

Commit 0066a20

Browse files
committed
list-user-installed script
[skip ci] Signed-off-by: Jordan Sokolic <[email protected]>
1 parent 5005857 commit 0066a20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

etc/list-user-installed.sh

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
# source: https://openwrt.org/docs/guide-user/installation/generic.sysupgrade
4+
5+
awk '/^Package:/{PKG= $2}
6+
/^Status: .*user installed/{print PKG}' /usr/lib/opkg/status | sort

0 commit comments

Comments
 (0)