diff options
-rw-r--r-- | loader2/hardware.c | 2 | ||||
-rwxr-xr-x | scripts/mk-images | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/loader2/hardware.c b/loader2/hardware.c index f3aa14b2b..627cfe119 100644 --- a/loader2/hardware.c +++ b/loader2/hardware.c @@ -60,7 +60,7 @@ static int detectHardware() { dup2(fd, 2); close(fd); - rc = execl("/sbin/udevtrigger","udevtrigger",NULL); + rc = execl("/sbin/udevadm", "udevadm", "trigger"); _exit(1); } diff --git a/scripts/mk-images b/scripts/mk-images index 5f5d34fe3..2b58dea3b 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -579,8 +579,6 @@ makeinitrd() { instbin $IMGPATH /usr/sbin/udevd $MBD_DIR /sbin/udevd instbin $IMGPATH /usr/sbin/udevadm $MBD_DIR /sbin/udevadm - ln -s udevadm $MBD_DIR/sbin/udevcontrol - ln -s udevadm $MBD_DIR/sbin/udevtrigger ln -s udevadm $MBD_DIR/sbin/udevsettle # Indirect dependencies |