summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/freesmartphone/fsotdld/fsotdld.conf43
-rw-r--r--recipes/freesmartphone/fsotdld_git.bb11
2 files changed, 53 insertions, 1 deletions
diff --git a/recipes/freesmartphone/fsotdld/fsotdld.conf b/recipes/freesmartphone/fsotdld/fsotdld.conf
new file mode 100644
index 0000000000..07e91b0ff8
--- /dev/null
+++ b/recipes/freesmartphone/fsotdld/fsotdld.conf
@@ -0,0 +1,43 @@
+#######################################################################################
+# FSO Time Date Location Daemon Configuration File -- for SYSTEM INTEGRATORS only
+########################################################################################
+[logging]
+# Log level: DEBUG, INFO (default), WARNING, ERROR
+# Override via environment as FSO_LOG_LEVEL
+log_level = INFO
+# Where to log to: none (default), stderr, stderr:colors, file, syslog
+# Override via environment as FSO_LOG_TO
+log_to = file
+# Log Destination (valid only for log_to = file)
+# Override via environment as FSO_LOG_DESTINATION
+log_destination = /var/log/fsotdld.log
+
+[fsotdl]
+gps_receiver_transport = serial
+gps_receiver_port = /dev/rfcomm0
+gps_receiver_speed = 9600
+
+[fsotdl.alarm]
+# No settings yet
+
+[fsotdl.source_ntp]
+# Which server to use; default is 'pool.ntp.org'
+server = time.windows.com
+
+[fsotdl.source_gsm]
+# No settings yet
+
+[fsotdl.provider_gps_nmea]
+# No settings yet
+
+[fsotdl.provider_gps]
+provider_type = nmea
+
+[fsotdl.sync_time]
+# Which sources to use; what is available depends on the loaded modules
+sources = ntp;gsm
+# Which current timezone file to use; default is /etc/timezone
+timezone_file = /etc/timezone
+# Path to zoneinfo files, default is /usr/share/zoneinfo
+zoneinfo_dir = /usr/share/zoneinfo
+
diff --git a/recipes/freesmartphone/fsotdld_git.bb b/recipes/freesmartphone/fsotdld_git.bb
index a70bf596f5..14659bdeff 100644
--- a/recipes/freesmartphone/fsotdld_git.bb
+++ b/recipes/freesmartphone/fsotdld_git.bb
@@ -1,6 +1,15 @@
require cornucopia.inc
inherit fso-plugin
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
PV = "0.0.0+gitr${SRCREV}"
DEPENDS += "libfsotransport libfsoresource"
+
+SRC_URI += "file://fsotdld.conf"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/freesmartphone/
+ install -m 0644 ${WORKDIR}/fsotdld.conf ${D}${sysconfdir}/freesmartphone/
+}
+
+FILES_${PN} += "${sysconfdir}/freesmartphone/fsotdld.conf"