init: get mdev to listen for new devices
Need to have mdev listen for new devices like the gadget_f_acm serial port. Signed-off-by: Angus Ainslie <angus@akkea.ca>
This commit is contained in:
parent
11374e81a7
commit
1c2010d213
|
@ -53,7 +53,10 @@ fi
|
||||||
echo "Creating device nodes..."
|
echo "Creating device nodes..."
|
||||||
mknod /dev/null c 1 3
|
mknod /dev/null c 1 3
|
||||||
mknod /dev/tty c 5 0
|
mknod /dev/tty c 5 0
|
||||||
|
# scan for devices
|
||||||
mdev -s
|
mdev -s
|
||||||
|
# listen for new device creation
|
||||||
|
mdev -d
|
||||||
|
|
||||||
# enable logging
|
# enable logging
|
||||||
mkdir -p /var/log
|
mkdir -p /var/log
|
||||||
|
|
Loading…
Reference in New Issue