storage: Add default values to settings file.
authorAlok Barsode <alok.barsode@linux.intel.com>
Thu, 29 Sep 2011 10:53:04 +0000 (13:53 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 24 Nov 2011 11:33:11 +0000 (12:33 +0100)
commit17d0eee00f7a247d279c17cb036672d3c5a67d77
treef34cc483e7f7a143c9dd5ce219edd07dbc14d5a8
parent358b68deea41bbbb4d6fc97123da7b3cf85a1c9a
storage: Add default values to settings file.

On a clean start (without default.profile) create the settings file
with default values. Here is a list of default values:

Offlinemode = off.
Wifi = disabled.
bluetooth = disabled.
ethernet = disabled.
3G = disabled.
WiMAX = disabled.

The reason for offlinemode to be off here is that any changes to
the technology will not be recorded if we start in offlinemode.

Fixes BMC#24285
src/storage.c