mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 02:31:56 +00:00
Merge pull request #2038 from rn/cold-plug
Support cold-plugging devices
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user