summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radicale/root/etc
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-05-03 18:05:32 +0200
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-05-03 18:05:32 +0200
commite6804f0a9313d5aa207994a4e3a365d5373c8abf (patch)
treecac8e17236babb87a5a6f87a9740f774877a07ca /applications/luci-app-radicale/root/etc
parent36879e9e8658601dc3e86ff9251da3fc3666efe0 (diff)
luci-app-radicale: New app to support Radicale CalDAV/CardDAV server
New Application !!! Dependency not set because there are two packages "radicale-py2" and "radicale-py3" (currently BROKEN) available !!! Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Diffstat (limited to 'applications/luci-app-radicale/root/etc')
-rwxr-xr-xapplications/luci-app-radicale/root/etc/uci-defaults/luci-radicale12
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale b/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale
new file mode 100755
index 0000000000..333ca65f45
--- /dev/null
+++ b/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# no longer needed for "Save and Apply" to restart radicale
+# luci-app-radicale calls /etc/init.d/radicale reload
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@radicale[-1]
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+
+exit 0