diff options
-rw-r--r-- | interface-definitions/service-event-handler.xml.in (renamed from interface-definitions/system-event-handler.xml.in) | 4 | ||||
-rwxr-xr-x | src/conf_mode/service_event_handler.py (renamed from src/conf_mode/system_event_handler.py) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/system-event-handler.xml.in b/interface-definitions/service-event-handler.xml.in index f5d8afabd..0ed26b213 100644 --- a/interface-definitions/system-event-handler.xml.in +++ b/interface-definitions/service-event-handler.xml.in @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <interfaceDefinition> - <node name="system"> + <node name="service"> <children> - <tagNode name="event-handler" owner="${vyos_conf_scripts_dir}/system_event_handler.py"> + <tagNode name="event-handler" owner="${vyos_conf_scripts_dir}/service_event_handler.py"> <properties> <help>Event handler name</help> </properties> diff --git a/src/conf_mode/system_event_handler.py b/src/conf_mode/service_event_handler.py index 9f91e99fc..cf4aba49b 100755 --- a/src/conf_mode/system_event_handler.py +++ b/src/conf_mode/service_event_handler.py @@ -34,7 +34,7 @@ def get_config(config=None): else: conf = Config() - base = ['system', 'event-handler'] + base = ['service', 'event-handler'] config = conf.get_config_dict(base, get_first_key=True, no_tag_node_value_mangle=True) |