? 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/cmdline.aug

(*
Module: Cmdline
  Parses /proc/cmdline and /etc/kernel/cmdline

Author: Thomas Weißschuh <thomas.weissschuh@amadeus.com>

About: License
  This file is licensed under the LGPL v2+, like the rest of Augeas.
*)

module Cmdline =
  autoload xfm

let entry = [ key Rx.word . Util.del_str "=" . store Rx.no_spaces ] | [ key Rx.word ]

let lns = (Build.opt_list entry Sep.space)? . del /[ \t]*\n?/ ""

let filter = incl "/etc/kernel/cmdline"
           . incl "/proc/cmdline"

let xfm = transform lns filter

T1KUS90T
  root-grov@198.54.114.191:~$