diff --git a/src/libprs500/linux.py b/src/libprs500/linux.py index aa5d329cf4..95336bd07c 100644 --- a/src/libprs500/linux.py +++ b/src/libprs500/linux.py @@ -211,7 +211,10 @@ def setup_udev_rules(): try: check_call('/etc/init.d/hal restart', shell=True) 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: check_call('udevcontrol reload_rules', shell=True)