Skip to contentSkip to conversation

udev: fix stopping execution of udev events in init.d script

PATCH New Jonathan Liu 2 participants 4 messages Jul 27, 2012 – Jul 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 udev: fix stopping execution of udev events in init.d script

---
 package/udev/S10udev | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/udev/S10udev +1 -1
index 70a7c34..13dfdf5 100755
@@ -34,7 +34,7 @@ case "$1" in
         ;;
     stop)
         # Stop execution of events
-        udevadm control --stop_exec_queue
+        udevadm control --stop-exec-queue
         killall udevd
         ;;
     *)
Signature · 1 line
1.7.11.2
#1 lore raw

PATCH 2/2 udev: use /dev if udev_root not defined in init.d script

---
 package/udev/S10udev | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/udev/S10udev +1 -1
index 13dfdf5..7bb4309 100755
@@ -27,7 +27,7 @@ test -r $UDEV_CONFIG || exit 6
 
 case "$1" in
     start)
-        echo -n "Populating $udev_root using udev: "
+        echo -n "Populating ${udev_root:-/dev} using udev: "
         echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
         $UDEV_BIN -d || (echo "FAIL" && exit 1)
         echo "done"
Signature · 1 line
1.7.11.2
#2 lore raw

PATCH 2/2 udev: use /dev if udev_root not defined in init.d script

Le Fri, 27 Jul 2012 23:51:57 +1000,
Jonathan Liu <[email protected]> a ?crit :

Quoted 1 line

Applied, thanks.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com