diff options
author | Dirk | 2014-04-14 22:07:26 +0200 |
---|---|---|
committer | Dirk | 2014-04-14 22:07:26 +0200 |
commit | 72f0a7f6d1bfa84fe68395e8739a9dbd92dcc321 (patch) | |
tree | 3f68fa02b4ad5aff00897b00f24a2ec410549f24 | |
parent | More changes for Ubuntu 14.04 ... (diff) | |
download | core-72f0a7f6d1bfa84fe68395e8739a9dbd92dcc321.tar.gz core-72f0a7f6d1bfa84fe68395e8739a9dbd92dcc321.tar.xz core-72f0a7f6d1bfa84fe68395e8739a9dbd92dcc321.zip |
Fixing dev file locations ...
-rwxr-xr-x | src/initramfs/scripts/bin/hwautocfg | 2 | ||||
-rwxr-xr-x | src/initramfs/scripts/init | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/initramfs/scripts/bin/hwautocfg b/src/initramfs/scripts/bin/hwautocfg index 059d1c6f..be95e9c1 100755 --- a/src/initramfs/scripts/bin/hwautocfg +++ b/src/initramfs/scripts/bin/hwautocfg @@ -27,6 +27,8 @@ done # no kernel messages, switch on hotplug via /sbin/mdev echo "0 0 0 0" >/proc/sys/kernel/printk echo "/sbin/mdev" >/proc/sys/kernel/hotplug +echo -e "card[0-9] 0:0 660 =dri/\n(control[A-Z])([0-9]+) 0:0 660 =dri/" \ + >>/etc/mdev.conf modprobe -a ${MODPRV} usbhid hid-bright hid-generic 2>/dev/null & # check from vga= that the traditional framebuffer is needed e.g. for splashy # get information on the graphics adaptor if bootsplash or xserver plugins are diff --git a/src/initramfs/scripts/init b/src/initramfs/scripts/init index 5752440c..a4a41629 100755 --- a/src/initramfs/scripts/init +++ b/src/initramfs/scripts/init @@ -57,7 +57,7 @@ getty -i -n -l /bin/cat 38400 tty10 & setlogcons 10 # start device auto discovery/setup service of busybox -echo >/etc/mdev.conf +echo "# Set mdev behaviour in either init or hwautocfg" >/etc/mdev.conf mdev -s # source functions file common for all distros, messages contains all error |