summarylogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
authorPlaton Ryzhikov2021-09-13 11:33:38 +0300
committerPlaton Ryzhikov2021-09-13 11:40:49 +0300
commitf12c53bd03442778fdd711165b7fe48efbcd54eb (patch)
tree6c13066492763edb002101296cd7408056d904d0 /hook
parent311b7a729198bf4ff0fa62d840c8ac266a3eb268 (diff)
downloadaur-f12c53bd03442778fdd711165b7fe48efbcd54eb.tar.gz
update to 0.4-1
Diffstat (limited to 'hook')
-rw-r--r--hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/hook b/hook
index 556e58878ed..e964db5b20a 100644
--- a/hook
+++ b/hook
@@ -5,13 +5,13 @@ run_earlyhook() {
ln -sf /proc/self/fd/0 /dev/stdin
ln -sf /proc/self/fd/1 /dev/stdout
ln -sf /proc/self/fd/2 /dev/stderr
- nldev -r /usr/bin/smdev &
+ nldev &
echo $! > /run/nldev.pid
}
run_hook() {
msg ":: Triggering uevents..."
- nltrigger add all
+ nltrigger /sys add 0
sleep 1s
}