diff options
author | Denys Vlasenko | 2012-05-16 03:03:54 +0200 |
---|---|---|
committer | Denys Vlasenko | 2012-05-16 03:03:54 +0200 |
commit | 4a6a56c77871e8ae249c061c4478d25a8674e762 (patch) | |
tree | 8d7ad5c2e418a839ed56775567efcdbe0f63f19d /examples | |
parent | 02b8b9b0144d9de65e55015c0f3848a529a0738b (diff) | |
download | busybox-4a6a56c77871e8ae249c061c4478d25a8674e762.zip busybox-4a6a56c77871e8ae249c061c4478d25a8674e762.tar.gz |
examples/mdev_fat.conf: small addition
I needed this to make Android's adb see my phone
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/mdev_fat.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf index df329b4..da28bc3 100644 --- a/examples/mdev_fat.conf +++ b/examples/mdev_fat.conf @@ -108,3 +108,6 @@ usbdev[0-9].[0-9]_.* root:root 660 # zaptel devices zap(.*) root:dialout 660 =zap/%1 dahdi!(.*) root:dialout 660 =dahdi/%1 + +# If $DEVNAME exists, create device with this name +$DEVNAME=bus/usb/.* 0:0 660 ! @mkdir -p "`dirname "$DEVNAME"`"; mknod -m 0660 "$DEVNAME" c "$MAJOR" "$MINOR" |