save point for openwrt support addition
This commit is contained in:
parent
13091dd1c2
commit
f836a6317e
6 changed files with 60 additions and 1 deletions
17
installed.bash
Normal file
17
installed.bash
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
# this code gets all user installed / updated packages, some are dependencies
|
||||
|
||||
flist=installed.list
|
||||
|
||||
function installed() {
|
||||
|
||||
if [[ -f "$flist" ]]
|
||||
then
|
||||
echo "File $flist exists!"
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
ls /overlay/upper/usr/lib/opkg/info/*.list | sed -e 's/.*\///' | sed -e 's/\.list//' > installed.list
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue