diff --git a/pam_usb/tools/pamusb-conf b/pam_usb/tools/pamusb-conf index e712c34..075815d 100755 --- a/pam_usb/tools/pamusb-conf +++ b/pam_usb/tools/pamusb-conf @@ -28,7 +28,7 @@ class Device: udi) deviceProperties = deviceObj.GetAllProperties( dbus_interface = 'org.freedesktop.Hal.Device') - if deviceProperties['storage.removable'] != 1: + if deviceProperties['storage.removable'] != 1 and deviceProperties['storage.hotpluggable'] != 1: raise Exception, 'Not a removable device' self.vendor = None self.product = None