forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocationtracker.ini
38 lines (30 loc) · 864 Bytes
/
locationtracker.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[]
mountpoint = lt.conf
description = location tracker root
[ntp]
mountpoint = /etc/ntp.conf
infos/plugins = augeas lens=ntpd.lns syslog
description = a nested plugin
;transform/batterytontp = battery/level minpoll maxpoll
[val]
check/type = long
check/type/min = 5
check/type/max = 10
[getenv/ntpd_updateintervall]
check/type = long
check/type/min = 5
check/type/max = 10
rename/toupper = 1
[locationtracker/secret]
;infos/plugins = crypto cipher=DES crypto
[battery/level]
[locationtracker/polling]
; need to adapt path (must be full-path)
; infos/plugins = lua script=~/src/plugins/lua/lua/batterytotracker.lua
; transform/batterytotracker = battery/level
description = GPS polling time in seconds
[gps]
mountpoint = gps.conf
[gps/status]
assign/condition = (../../battery/level > 'low') ? ('active') : ('inactive')
description = current status of GPS