[projects/geninitrd] Actually newline is needed in initial mdev.seq.

arekm arekm at pld-linux.org
Fri Aug 29 23:27:03 CEST 2014


commit dcbfbe6e4ca2ba91e5331e0302b43165f3e8dee4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Aug 29 23:27:00 2014 +0200

    Actually newline is needed in initial mdev.seq.

 mod-udev.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/mod-udev.sh b/mod-udev.sh
index afbb544..147b070 100644
--- a/mod-udev.sh
+++ b/mod-udev.sh
@@ -145,7 +145,8 @@ hd[a-z]*	0:6 660
 	mount_sys
 	mount_run
 	add_linuxrc	<<-'EOF'
-		:> /dev/mdev.seq
+		# \n needed in mdev.seq
+		echo > /dev/mdev.seq
 		echo /bin/mdev > /proc/sys/kernel/hotplug
 		mdev -s
 	EOF
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/dcbfbe6e4ca2ba91e5331e0302b43165f3e8dee4



More information about the pld-cvs-commit mailing list