]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- udev>166 use /run/udev, check that too
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 24 Mar 2012 16:35:58 +0000 (16:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VirtualBox-vboxdrv.init -> 1.11
    VirtualBox-vboxnetadp.init -> 1.4

VirtualBox-vboxdrv.init
VirtualBox-vboxnetadp.init

index 9bcfbcbba80c722af44edf6eb52aa3a503043bcc..8201ac6c67625ed75c4d836d69c174d56442d83a 100644 (file)
@@ -21,7 +21,8 @@ VBOX_MODULE="vboxdrv"
 setup() {
        modprobe -s $VBOX_MODULE
        RETVAL=$?
-       if [ -d /dev/.udev ]; then
+
+       if [ -d /dev/.udev ] || [ -d /run/udev/rules.d ]; then
                return $RETVAL
        fi
 
index 2d5283c8a99c1dd2ef48b379ada08466ab052b13..d195ee74a3cee86606307390f3f1258909740ff2 100644 (file)
@@ -21,7 +21,8 @@ VBOX_MODULE="vboxnetadp"
 setup() {
        modprobe -s $VBOX_MODULE
        RETVAL=$?
-       if [ -d /dev/.udev ]; then
+
+       if [ -d /dev/.udev ] || [ -d /run/udev/rules.d ]; then
                return $RETVAL
        fi
 
This page took 0.128766 seconds and 4 git commands to generate.