Skip to content

Commit

Permalink
Merge pull request #1710 from jrha/sysctl
Browse files Browse the repository at this point in the history
ncm-sysctl: Cleanup & fixes
  • Loading branch information
jrha authored Sep 17, 2024
2 parents 44a6d4f + 04c2abb commit ecf8f9c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion ncm-sysctl/src/main/pan/components/sysctl/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
};
Expand Down
2 changes: 0 additions & 2 deletions ncm-sysctl/src/test/perl/configure.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/perl
# -*- mode: cperl -*-
use strict;
use warnings;

Expand Down
3 changes: 0 additions & 3 deletions ncm-sysctl/src/test/resources/simple.pan
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ prefix "/software/components/sysctl";
"command" = "/sbin/sysctl";
"confFile" = "50-quattor.conf";
"variables/kernel.sysrq" = "1";



0 comments on commit ecf8f9c

Please sign in to comment.