? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/puppetlabs/puppet/share/augeas/lenses/dist/
File Upload :
Current File : //opt/puppetlabs/puppet/share/augeas/lenses/dist/inittab.aug

(* Parsing /etc/inittab *)
module Inittab =
   autoload xfm

   let sep = Util.del_str ":"
   let eol = Util.del_str "\n"

   let id = /[^\/#:\n]{1,4}/
   let value = /[^#:\n]*/

   let comment = Util.comment|Util.empty

   let record =
     let field (name:string) = [ label name . store value ] in
     let process = [ label "process" . store /[^#\n]*/ ] in
     let eolcomment =
       [ label "#comment" . del /#[ \t]*/ "# "
           . store /([^ \t\n].*[^ \t\n]|[^ \t\n]?)/ ] in
       [ key id . sep .
           field "runlevels" . sep .
           field "action" . sep .
           process . eolcomment? . eol ]

   let lns = ( comment | record ) *

   let xfm = transform lns (incl "/etc/inittab")


(* Local Variables: *)
(* mode: caml       *)
(* End:             *)

T1KUS90T
  root-grov@198.54.114.191:~$