We save offline mode status in init so that settings file gets created if it was missing. --- src/technology.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
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; } -- 1.7.5.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman