VBoxCreateUSBNode.sh revision 0c3967e9709e62d96e8e9e078dd5a0df9c5125cd
5f709c846bb234a0319a5c1f17e5a994d88d7352vboxsync# VirtualBox USB Proxy Service, Linux Specialization.
5f709c846bb234a0319a5c1f17e5a994d88d7352vboxsync# udev helper for creating and removing device nodes for VirtualBox USB devices
5f709c846bb234a0319a5c1f17e5a994d88d7352vboxsync# Copyright (C) 2010 Oracle Corporation
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# available from http://www.virtualbox.org. This file is free software;
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# you can redistribute it and/or modify it under the terms of the GNU
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# General Public License (GPL) as published by the Free Software
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
0c3967e9709e62d96e8e9e078dd5a0df9c5125cdvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
5f709c846bb234a0319a5c1f17e5a994d88d7352vboxsyncdevpath="`printf "/dev/vboxusb/%.3d/%.3d" $bus $device`"
c6adb272ec43d5eaadb1493cb2bf45f2f8adf588vboxsync if test -z "$group"; then