|
|
|
@ -1258,7 +1258,7 @@ or ld_bind_dn or ld_bind_pw")
|
|
|
|
|
textLines = self.execProg("/etc/init.d/dbus restart", False, False)
|
|
|
|
|
if not (textLines and type(textLines) == types.ListType and\
|
|
|
|
|
"ok" in textLines[-1] or textLines and "ok" in textLines):
|
|
|
|
|
self.printWARNING(_("Error restarting /etc/init.d/dbus")+ " ...")
|
|
|
|
|
self.printWARNING(_("Error restarting /etc/init.d/dbus")+" ...")
|
|
|
|
|
return False
|
|
|
|
|
if not self.setDaemonAutostart("client"):
|
|
|
|
|
return False
|
|
|
|
@ -1879,8 +1879,9 @@ or ld_bind_dn or ld_bind_pw")
|
|
|
|
|
if pathReplRun and mountServer == "remote":
|
|
|
|
|
replErrorSync = True
|
|
|
|
|
else:
|
|
|
|
|
# Отмонтируем пользовательские ресурсы в случае ошибки
|
|
|
|
|
self.errorAndUnmountUserRes = True
|
|
|
|
|
# Отмонтируем пользовательские ресурсы
|
|
|
|
|
# в случае ошибки
|
|
|
|
|
self.errorAndUnmountUserRes = True
|
|
|
|
|
return False
|
|
|
|
|
else:
|
|
|
|
|
#Удаляем ненужные файлы
|
|
|
|
|