mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #428
This commit is contained in:
parent
ad1ec0f474
commit
6f7a0c8bb7
@ -211,7 +211,10 @@ def setup_udev_rules():
|
|||||||
try:
|
try:
|
||||||
check_call('/etc/init.d/hal restart', shell=True)
|
check_call('/etc/init.d/hal restart', shell=True)
|
||||||
except:
|
except:
|
||||||
check_call('/etc/init.d/haldaemon restart', shell=True)
|
try:
|
||||||
|
check_call('/etc/init.d/haldaemon restart', shell=True)
|
||||||
|
except:
|
||||||
|
check_call('/etc/rc.d/rc.hald restart', shell=True)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
check_call('udevcontrol reload_rules', shell=True)
|
check_call('udevcontrol reload_rules', shell=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user