Modules

Parses /etc/modules

Summary
ModulesParses /etc/modules
ReferenceThis lens tries to keep as close as possible to `man 5 modules` where possible.
LicenseThis file is licenced under the LGPL v2+, like the rest of Augeas.
Lens UsageTo be documented
Configuration filesThis lens applies to /etc/modules.
Augeas Lenses
word
sto_line
record
lns
filter

Reference

This lens tries to keep as close as possible to `man 5 modules` where possible.

License

This file is licenced under the LGPL v2+, like the rest of Augeas.

Lens Usage

To be documented

Configuration files

This lens applies to /etc/modules.  See filter.

Augeas Lenses

word

let word = /[^#, \n\t\/]+/

sto_line

let sto_line = store /[^# \t\n].*[^ \t\n]|[^# \t\n]/

record

let record = [ key word . (Util.del_ws_tab . sto_line)? . Util.eol ]

lns

let lns = ( Util.empty | Util.comment | record ) *

filter

let word = /[^#, \n\t\/]+/
let sto_line = store /[^# \t\n].*[^ \t\n]|[^# \t\n]/
let record = [ key word . (Util.del_ws_tab . sto_line)? . Util.eol ]
let lns = ( Util.empty | Util.comment | record ) *
Close