This file is indexed.

/usr/share/augeas/lenses/dist/nutupsschedconf.aug is in nut-client 2.7.2-4ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
(*
Module: NutUpsSchedConf
 Parses /etc/nut/upssched.conf

Author: Raphael Pinson <raphink@gmail.com>
        Frederic Bohe  <fredericbohe@eaton.com>

About: License
  This file is licensed under the GPL.

About: Lens Usage
  Sample usage of this lens in augtool

    * Print the command script:
      > print /files/etc/nut/upssched.conf/CMDSCRIPT

About: Configuration files
  This lens applies to /etc/nut/upssched.conf. See <filter>.
*)

module NutUpsschedConf =
  autoload upssched_xfm


(************************************************************************
 * Group:                 UPSSCHED.CONF
 *************************************************************************)

(* general *)
let sep_spc  = Util.del_ws_spc
let eol      = Util.eol
let num      = /[0-9]+/
let word     = /[^"#; \t\n]+/
let empty    = Util.empty
let comment  = Util.comment

(* Variable: quoted_word *)
let word_space  = /"[^"\n]+"/
let quoted_word = /"[^" \t\n]+"/

(* Variable: word_all *)
let word_all = word_space | word | quoted_word

let upssched_re = "CMDSCRIPT"
                  | "PIPEFN"
                  | "LOCKFN"

let upssched_opt    = [ key upssched_re . sep_spc . store word_all . eol ]

let upssched_start_timer = [ key "START-TIMER" . sep_spc 
                         . [ label "timername" . store word ] . sep_spc
                         . [ label "interval"  . store num ] ]


let upssched_cancel_timer = [ key "CANCEL-TIMER" . sep_spc
                         . [ label "timername" . store word ]
			 . ( sep_spc . [ label "cmd" . store word_all ])* ]

let upssched_execute_timer = [ key "EXECUTE" . sep_spc
                         . [ label "command"  . store word_all ] ]


let upssched_command = (upssched_start_timer|upssched_cancel_timer|upssched_execute_timer)

let upssched_at   = [ key "AT" . sep_spc 
			. [ label "notifytype" . store word ] . sep_spc 
			. [ label "upsname" . store word ] . sep_spc 
			. upssched_command . eol ]

let upssched_lns    = (upssched_at|upssched_opt|comment|empty)*

let upssched_filter = ( incl "/etc/nut/upssched.conf" )
			. Util.stdexcl

let upssched_xfm    = transform upssched_lns upssched_filter