fw_setenv(8)

✨ fw_setenv ✨

okay bestie, welcome to the manual page for fw_setenv from the System Manager's Manual β€” it's a whole mood and it's literally your lil' key to poking the U-Boot bootloader's environment πŸ’–


🌸 NAME 🌸

fw_setenv β€” the tool for modifying the environment for the bootloader U-Boot 🫢


πŸŽ€ SYNOPSIS πŸŽ€

fw_setenv name [ value ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: fw_setenv is a simple tool for modifying the environment for the bootloader U-Boot. The variable name gets updated to hold value if it's already set in the environment β€” and if it's not already there? it just gets created and set. no cap, it does both πŸ’…

if you only pass the name argument and nothing else, the corresponding variable gets deleted. gone. poof. πŸ™ˆ

and here's the iconic lore: this version of fw_printenv stems from libubootenv and does not hold a built-in default environment. nope, not a vibe it keeps. instead, the default environment is read from a file. that's just how she operates ✨


πŸ’… OPTIONS πŸ’…

  • -h β€” print a help message πŸ₯Ί
  • -c, --config <filename> β€” configuration file (the old fw_env.config, iykyk)
  • -f, --defenv <filename> β€” default environment if no one found πŸ‘€
  • -V β€” print program's version ⭐
  • -s, --script <filename> β€” read variables to be set from a script 🎬

🌈 FILES 🌈

  • /etc/fw_env.config β€” Configuration file for fw_setenv. this is the default value of the --config option πŸ“
  • /etc/u-boot-initial-env β€” Default U-Boot environment. this is the default value of the --defenv option 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

fw_printenv(8) β€” the sibling, the partner in crime, the other half of the duo πŸ’œ


ngl bestie, that's the whole page. go forth and set your env, you main character 🫢

kisses, this page was dated 2021-06-23 and came to you from the System Manager's Manual β€” stay slay πŸ’–βœ¨