From 285425080b627524b13994b4b61d3e95b8cda35c Mon Sep 17 00:00:00 2001 From: James Adams Date: Fri, 12 Jul 2024 16:55:46 +0100 Subject: [PATCH] ncm-sysctl: Deprecate compat-v1 as having no effect The code was removed pre-2008 --- ncm-sysctl/src/main/pan/components/sysctl/schema.pan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncm-sysctl/src/main/pan/components/sysctl/schema.pan b/ncm-sysctl/src/main/pan/components/sysctl/schema.pan index 6bcfbbde13..f6f781d56d 100755 --- a/ncm-sysctl/src/main/pan/components/sysctl/schema.pan +++ b/ncm-sysctl/src/main/pan/components/sysctl/schema.pan @@ -16,7 +16,7 @@ type component_sysctl_structure = { include structure_component 'command' : string = '/sbin/sysctl' with match(SELF, '^/.+') - 'compat-v1' : boolean = false + 'compat-v1' ? boolean with deprecated(0, 'compat-v1 has no effect and will be removed in a future release') 'confFile' : string = '/etc/sysctl.conf' with match(SELF, '^(/.+|[^/]+)\.conf$') # disallow / unless an absolute path is supplied. 'variables' ? string{} };