Template:Upgrading Alpine environmentvars
Setup environment variables
To make the documentation a bit more 'generic' we start by setting some environment variables.
Make sure that the variable 'LBU_MEDIA' is not commented (by removing the leading '#').
You also need to set a appropriate value for your 'LBU_MEDIA'. The media you choose will be the media where you store your settings/configuration.
Now that you have your '/etc/lbu/lbu.conf' configured for your needs, we will set the environment variables (note the leading '.').
You can test if your environment variable was set
It should output something like 'hda1', 'usb' or whatever you just configured
Back up your config
Before starting to upgrade, it's wise to save your configuration.