This commit is contained in:
Kovid Goyal 2007-05-12 22:00:25 +00:00
parent b2a301912f
commit 46f537ed86

View File

@ -333,5 +333,9 @@ if os.access('/etc/udev/rules.d', os.W_OK):
'''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"\n''' '''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"\n'''
) )
udev.close() udev.close()
try:
check_call('udevstart', shell=True) check_call('udevstart', shell=True)
print 'success' print 'success'
except:
print >>sys.stderr, "Couldn't reload udev, you may have to reboot"