Merge pull request #2038 from rn/cold-plug

Support cold-plugging devices
This commit is contained in:
Justin Cormack
2017-06-15 18:07:17 +02:00
committed by GitHub
40 changed files with 42 additions and 39 deletions

View File

@@ -75,6 +75,9 @@ done
mdev -s
# Load modules for cold-plugged devices (ie devices present on boot)
grep -h MODALIAS /sys/bus/*/devices/*/uevent | cut -d= -f2 | xargs modprobe -abq 2> /dev/null
# set hostname
if [ -s /etc/hostname ]
then