From: Jeremy Kerr Date: Thu, 23 Jan 2014 05:31:56 +0000 (+0800) Subject: pb-config/powerpc: fix default option handling X-Git-Tag: v1.0.0~258 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=e61e64c785de0809fb69cd160e8317f2de25793e;hp=e61e64c785de0809fb69cd160e8317f2de25793e pb-config/powerpc: fix default option handling 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 ---