[LEDE-DEV] please add encloses /usr/bin/installed.sh to main image of lede/openWRT

Ludwig Jaffe ludwig.jaffe at gmail.com
Sun Apr 22 22:21:39 PDT 2018


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20180423/87693a29/attachment-0001.sig>


More information about the Lede-dev mailing list