diff options
author | osm0sis <osm0sis@outlook.com> | 2017-04-22 09:00:09 -0300 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2017-04-22 09:00:09 -0300 |
commit | 0e23428ccfd71b49f6bd9bd5a0424c2471f690bc (patch) | |
tree | 6ab0af0bf7b4db7c1f20a03f289c8df4e5275101 /README.md | |
parent | 6fedeb5dc4b34ca756ebc64b8bc82a4ef38ea5aa (diff) |
README update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -49,12 +49,13 @@ insert_file <file> <if search string> <before|after> <line match string> <patch append_file <file> <if search string> <patch file> replace_file <file> <permissions> <patch file> patch_fstab <fstab file> <mount match name> <fs match type> <block|mount|fstype|options|flags> <original string> <replacement string> +patch_cmdline <cmdline match string> [<replacement string>] write_boot ``` -__"if search string"__ is the string it looks for to decide whether it needs to add the tweak or not, so generally something to indicate the tweak already exists. +__"if search string"__ is the string it looks for to decide whether it needs to add the tweak or not, so generally something to indicate the tweak already exists. __"cmdline match string"__ behaves somewhat like this while also being the new cmdline addition for the _patch_cmdline_ function. -Similarly, __"line match string"__ and __"line replace string"__ are the search strings that locate where the modification needs to be made for those commands, __"begin search string"__ and __"end search string"__ are both required to select the first and last lines of the script block to be replaced for replace_section, and __"mount match name"__ and __"fs match type"__ are both required to narrow the _patch_fstab_ command down to the correct entry. +Similarly, __"line match string"__ and __"line replace string"__ are the search strings that locate where the modification needs to be made for those commands, __"begin search string"__ and __"end search string"__ are both required to select the first and last lines of the script block to be replaced for _replace_section_, and __"mount match name"__ and __"fs match type"__ are both required to narrow the _patch_fstab_ command down to the correct entry. __"before|after"__ requires you simply specify __"before"__ or __"after"__ for the placement of the inserted line, in relation to __"line match string"__. |