ACC SHELL

Path : /usr/share/YaST2/scrconf/
File Upload :
Current File : //usr/share/YaST2/scrconf/etc_ntp.scr

/**
 * File:        etc_ntp.scr
 * Summary:     Agent for reading /etc/ntp.conf file
 * Author:      Jiri Srain <jsrain@suse.cz>
 * Access:      read
 *
 * $Id: etc_ntp.scr 54755 2009-01-19 13:22:32Z mvidner $
 *
 */
.etc.ntp_conf

`ag_ini(
    `IniAgent ( "/etc/ntp.conf",
	$[
	    "options"	: [ "global_values", "repeat_names", "comments_last" ],
	    "comments"	: [
		"^[ \t]*#.*$",
		"^[ \t]*$",
		"[ \t]*#.*$",
	    ],
	    "params"    : [
		$[ "match" : [ "^[ \t]*([^ \t]+)[ \t]+([^#]*)", "%s %s" ]],
	    ],
	    "subindent"	: "  "
	]
))



ACC SHELL 2018