summaryrefslogtreecommitdiff
path: root/include/inject.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-12-25 13:41:37 +0100
committerLeah Rowe <leah@libreboot.org>2025-12-25 13:41:37 +0100
commitd5351aee37b6f12016971c7c1f9afd24e9aaee36 (patch)
tree75a851a432c3149c1999ffe5d520ba4282db9d37 /include/inject.sh
parenta59fc6a3535b437a1dba0841d36a02a930e1cb0b (diff)
inject: fix mac address insertionHEADmaster
during previous re-factoring, i sorted variable initialisations. that was all well and good, but prior to that, i initialised the new_mac string to empty at first, and then to the "xx" letters; the latter made the first initialisation redundant, but in the re-factoring, I put the blanking of the string afterward. this disabled mac address insertion, because the way the script works is precisely to avoid mac address insertion when the mac string is empty. this is used when running the "nuke" command. silly me. yes, i'm very silly. very very silly. so silly. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/inject.sh')
-rw-r--r--include/inject.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/inject.sh b/include/inject.sh
index ee3df6af..6a1b0768 100644
--- a/include/inject.sh
+++ b/include/inject.sh
@@ -40,7 +40,6 @@ inject()
archive="$1";
new_mac="xx:xx:xx:xx:xx:xx"
- new_mac=""
nuke=""
xchanged=""