]> git.ozlabs.org Git - petitboot/commitdiff
pb-config/powerpc: fix default option handling
authorJeremy Kerr <jk@ozlabs.org>
Thu, 23 Jan 2014 05:31:56 +0000 (13:31 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 23 Jan 2014 09:33:11 +0000 (17:33 +0800)
Currently, we don't update nvram if an NVRAM parameter is set to the
default. This means we can never revert a configuration to its default
value.

This change fixes the default setting behaviour; instead of checking for
a default, we want to check if it's a default and the option is absent.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found