Skip to content

outcomment

daniel edited this page May 16, 2021 · 4 revisions

/bootstrap-plugins/outcomment - place a commenting character in front of a string in a file

Config parameters

Name Description Default Value
RPI_OUTCOMMENT_FILE the target file
RPI_OUTCOMMENT_CHAR the comment character #
RPI_OUTCOMMENT_STRING the string to comment out

Distfiles

none

Examples

RPI_BOOTSTRAP_PLUGINS+=("outcomment") to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "outcomment" ... ) to place at some position in the current list.

comment out "dtparam=spi=off" in config.txt

RPI_OUTCOMMENT_FILE="${RPI_BOOT}/config.txt"
RPI_OUTCOMMENT_STRING="dtparam=spi=off"

Tests

TODO

Clone this wiki locally