def stopSmartd(): if smartd.daemonRunning(): smartd.stopDaemon(); if not smartd.daemonRunning(): if showPopups: xbmc.executebuiltin("Notification(smartmontools, " + addon.getLocalizedString(50025)+ ", 7, " + icon + ")"); # smartd stopped else: xbmcgui.Dialog().ok(consts.dialogHeader, addon.getLocalizedString(50026)); # Failed to stop smartd
def stopSmartd(): if smartd.daemonRunning(): smartd.stopDaemon() if not smartd.daemonRunning(): if showPopups: xbmc.executebuiltin("Notification(smartmontools, " + addon.getLocalizedString(50025) + ", 7, " + icon + ")") # smartd stopped else: xbmcgui.Dialog().ok(consts.dialogHeader, addon.getLocalizedString(50026))
def stopService(): smartd.stopDaemon()
def stopService(): smartd.stopDaemon();