ubuntu udev support

This commit is contained in:
Kovid Goyal 2007-05-15 04:52:54 +00:00
parent 98f18fb074
commit fbccb944d7

View File

@ -484,5 +484,9 @@ if os.access('/etc/udev/rules.d', os.W_OK):
check_call('udevstart', shell=True)
print 'success'
except:
print >>sys.stderr, "Couldn't reload udev, you may have to reboot"
try:
check_call('/etc/init.d/udev reload, shell=True')
print 'success'
except:
print >>sys.stderr, "Couldn't reload udev, you may have to reboot"