regex-validate services commands
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -78,6 +78,7 @@ return [
|
||||
'settinggroup' => 'system',
|
||||
'varname' => 'bindreload_command',
|
||||
'type' => 'text',
|
||||
'string_regexp' => '/^[a-z0-9\/\._\- ]+$/i',
|
||||
'default' => '/etc/init.d/bind9 reload',
|
||||
'save_method' => 'storeSettingField'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user