예제 #1
0
    def keySave(self):
        for x in self["config"].list:
            x[1].save()

        if config.OpenWebif.enabled.value == True:
            HttpdRestart(global_session)
        else:
            HttpdStop(global_session)
        self.close()
예제 #2
0
	def keySave(self):
		for x in self["config"].list:
			x[1].save()

		if not config.OpenWebif.auth.value is True:
			config.OpenWebif.auth_for_streaming.value = False
			config.OpenWebif.auth_for_streaming.save()

		if not config.OpenWebif.https_enabled.value is True:
			config.OpenWebif.https_clientcert.value = False
			config.OpenWebif.https_clientcert.save()

		if config.OpenWebif.enabled.value is True:
			HttpdRestart(global_session)
		else:
			HttpdStop(global_session)
		self.close()
예제 #3
0
    def keySave(self):
        for x in self["config"].list:
            x[1].save()

        HttpdRestart(global_session)
        self.close()