HomeFreeBSD

lualoader: When restoring environment, only restore unchanged vars

Description

lualoader: When restoring environment, only restore unchanged vars

Track the latest value we've set an environment variable to, and only
restore those that are unchanged from that.

This gives us some leeway to make sure we're not clobbering variables
overwritten by menu changes.

Details

Provenance
kevansAuthored on
Parents
rS329679: Properly lookup values if they were empty.
Branches
Unknown
Tags
Unknown