please add the list-installed-script to the main image of openwrt
as it is small and very useful to find out what is installed on the box.

original:
devkid/list-user-installed-

packages.sh

I "installed" the script as /usr/bin/installed.sh with 755 rights
also I suggest that it should be put at
/usr/bin
or to
/bin  (but only if the main image does not contain /usr/bin)


script: /usr/bin/installed.sh

#!/bin/sh

FLASH_TIME=$(opkg info busybox | grep '^Installed-Time: ')

for i in $(opkg list-installed | cut -d' ' -f1)
do
    if [ "$(opkg info $i | grep '^Installed-Time: ')" != "$FLASH_TIME" ]
    then
        echo $i
    fi
done



---

Please integrate it.

Thanks

Ludwig


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to