slitaz-boot-scripts rev 459

init: may use mdev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 12 10:11:24 2020 +0000 (6 months ago)
parents 876a72d3d977
children b17b632b1571
files init
line diff
     1.1 --- a/init	Sun Apr 12 09:39:02 2020 +0000
     1.2 +++ b/init	Sun Apr 12 10:11:24 2020 +0000
     1.3 @@ -191,6 +191,7 @@
     1.4  	sh
     1.5  fi
     1.6  
     1.7 +mdev -s 2> /dev/null ||
     1.8  for i in /sys/block/*/dev /sys/block/*/*/dev ; do
     1.9  	[ -s "$i" ] || continue
    1.10  	n=${i%/dev}