From fcb420d50b2cc3a73487f49d8d09d04d07bab7a8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Jun 2018 06:37:55 +0200 Subject: mobile/sms: Make it optional to store the SMS on disk Disable storing the SMS on disk. This is useful when scripting mobile. Keep the default of attempting to store it to disk. Change-Id: I6353447343d98ebaa5e12ab63f995750f81c8500 --- src/host/layer23/src/mobile/settings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/host/layer23/src/mobile/settings.c') diff --git a/src/host/layer23/src/mobile/settings.c b/src/host/layer23/src/mobile/settings.c index f1c0cfcd..7370b0ab 100644 --- a/src/host/layer23/src/mobile/settings.c +++ b/src/host/layer23/src/mobile/settings.c @@ -92,6 +92,8 @@ int gsm_settings_init(struct osmocom_ms *ms) set->any_timeout = MOB_C7_DEFLT_ANY_TIMEOUT; + set->store_sms = true; + INIT_LLIST_HEAD(&set->abbrev); return 0; -- cgit v1.2.3