Skip to content

Commit

Permalink
(WIP) cmdline.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Nov 20, 2023
1 parent f4f126d commit 7ca703b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions files/boot_cmdline.aug
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
(* /boot/cmdline.txt module for Augeas *)

module Boot_Cmdline =
autoload xfm

let word = /[^ \n\t]+/
let cmdline = [ seq "cmdline" . Util.indent .
[ label "parameter" . store word ] .
[ label "parameter" . Sep.space . store word ]*
. Util.eol ]

let lns = cmdline

let xfm = transform lns (incl "/boot/cmdline.txt")

0 comments on commit 7ca703b

Please sign in to comment.