diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-04-27 16:01:52 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-04-27 15:14:16 +0200 |
commit | 7faf6c0ccbd9ff8f4bccacb6b23c43e3f37c17e1 (patch) | |
tree | b66ca6b73cadbd2377eadcc6586a0ede97912b5f /src | |
parent | 99a186e4bf048e4095cd4bc75f0c7a89d98c0ac3 (diff) | |
download | connman-7faf6c0ccbd9ff8f4bccacb6b23c43e3f37c17e1.tar.gz connman-7faf6c0ccbd9ff8f4bccacb6b23c43e3f37c17e1.tar.bz2 connman-7faf6c0ccbd9ff8f4bccacb6b23c43e3f37c17e1.zip |
technology: Create the settings file in init
We save offline mode status in init so that settings
file gets created if it was missing.
Diffstat (limited to 'src')
-rw-r--r-- | src/technology.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c index 9892e2b7..c52c9109 100644 --- a/src/technology.c +++ b/src/technology.c @@ -1355,6 +1355,9 @@ int __connman_technology_init(void) global_offlinemode = connman_technology_load_offlinemode(); + /* This will create settings file if it is missing */ + connman_technology_save_offlinemode(); + return 0; } |