nldev

NetLink DEVice manager; a lightweight netlink frontend for mdev.
git clone git://r-36.net/nldev
Log | Files | Refs | LICENSE

commit 23430cd31ea9bf1b7f271604010b52ce1ee51fc5
parent d2974b64d4e8bab0e08c6395c2925c94e13a3ca5
Author: Platon Ryzhikov <ihummer63@yandex.ru>
Date:   Fri,  3 Aug 2018 09:56:24 +0300

nltrigger: proceed all uevents

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
nltrigger | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nltrigger b/nltrigger @@ -74,9 +74,9 @@ then exit 1 fi -for i in /sys/class/*/*/uevent; +for i in $(find /sys -name uevent -print | sed -e 's/\ /_/g'); do - echo $action > $i + echo $action > "$(echo $i | sed -e 's/_/ /')" done exit 0