From 7faf6c0ccbd9ff8f4bccacb6b23c43e3f37c17e1 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 27 Apr 2012 16:01:52 +0300 Subject: [PATCH] technology: Create the settings file in init We save offline mode status in init so that settings file gets created if it was missing. --- src/technology.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/technology.c b/src/technology.c index 9892e2b..c52c910 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; } -- 2.7.4