-
Notifications
You must be signed in to change notification settings - Fork 1
remove
daniel edited this page May 16, 2021
·
13 revisions
/bootstrap-plugins/remove - remove sed pattern "/.../d" from file where it matches
Name | Description | Default Value |
---|---|---|
RPI_REMOVE_FILE | file to remove pattern from | |
RPI_REMOVE_PATTERN | sed pattern to match (and remove) |
none
RPI_BOOTSTRAP_PLUGINS+=("remove")
to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "remove" ... )
to place at some position in the current list.
RPI_REMOVE_FILE="${RPI_ROOT}/etc/rc.local"
RPI_REMOVE_PATTERN="exit 0"
RPI_REMOVE_FILE=( "${RPI_ROOT}/etc/passwd" "${RPI_ROOT}/etc/shadow" )
RPI_REMOVE_PATTERN="^foo.*"
TODO