summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2016-01-14 15:51:59 -0400
committerosm0sis <osm0sis@outlook.com>2016-01-14 15:51:59 -0400
commit65520217ef02a74630efca936ffaab83adade4d9 (patch)
tree65808e1bbc60acdc703a005d9b582169167ab846 /README
parent8c640412087a602e4bdc789a241922fcedc4a363 (diff)
AK2: add remove_section, update documentation with note regarding escapes
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 3 insertions, 0 deletions
diff --git a/README b/README
index 57f6290..31ccaa6 100644
--- a/README
+++ b/README
@@ -33,6 +33,7 @@ dump_boot
backup_file <file>
replace_string <file> <if search string> <original string> <replacement string>
replace_section <file> <begin search string> <end search string> <replacement string>
+remove_section <file> <begin search string> <end search string>
insert_line <file> <if search string> <before|after> <line match string> <inserted line>
replace_line <file> <line replace string> <replacement line>
remove_line <file> <line match string>
@@ -53,6 +54,8 @@ Similarly, "line match string" and "line replace string" are the search strings
You may also use ui_print "<text>" to write messages back to the recovery during the modification process.
+Note: the "begin search string" and "end search string" arguments of replace_section and remove_section require any forward slashes (/) to be escaped.
+
// Instructions
1- Place zImage in the root (dtb should also go here for devices that require a custom one, both will fallback to the original if not included)