# HG changeset patch # User Christophe Lincoln # Date 1394752456 -3600 # Node ID 93758e8de78a70eb6ecaa397d744fa4e20c3de56 # Parent a77691f15e1059921462b9079ce178b0f01fdb22 Fix shutdown log path and fallback to mdev if no udev diff -r a77691f15e10 -r 93758e8de78a etc/init.d/rc.shutdown --- a/etc/init.d/rc.shutdown Sun Mar 09 05:09:09 2014 +0000 +++ b/etc/init.d/rc.shutdown Fri Mar 14 00:14:16 2014 +0100 @@ -5,7 +5,7 @@ . /etc/init.d/rc.functions . /etc/rcS.conf -log=/var/lib/shutdown.log +log=/var/log/slitaz/shutdown.log # Clear and quiet shutdown clear && echo "System is going down for reboot or halt." > $log diff -r a77691f15e10 -r 93758e8de78a etc/init.d/rcS --- a/etc/init.d/rcS Sun Mar 09 05:09:09 2014 +0000 +++ b/etc/init.d/rcS Fri Mar 14 00:14:16 2014 +0100 @@ -36,10 +36,7 @@ udevadm settle --timeout=120 # Disable hotplug helper since udevd listen to netlink echo "" > /proc/sys/kernel/hotplug -fi - -# Busybox mdev is an udev alternative -if [ "$UDEV" == "mdev" ]; then +else echo -n "Executing mdev -s to populate /dev..." mdev -s && echo "mdev" > /proc/sys/kernel/hotplug status