nldev

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

commit d67dddcedb1c47a18b46c03025437f6337384613
parent 99711052b6c062d41c6d63b85ea81a7f89ca1078
Author: Platon Ryzhikov <ihummer63@yandex.ru>
Date:   Sun, 13 Jan 2019 10:15:28 +0300

Fix nltrigger behavior for uevents with '_' in path

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 $(find /sys -name uevent -print | sed -e 's/\ /_/g'); +for i in $(find /sys -name uevent -print | sed -e 's/ /,/g'); do - echo $action > "$(echo $i | sed -e 's/_/ /')" + echo $action > "$(echo $i | sed -e 's/,/ /g')" done exit 0