From 8eaac4b637d989680ad86dc3e84b0f3b547c1619 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 27 Jan 2016 16:47:23 +0100 Subject: Use numeric prefixes for uci-defaults scripts Signed-off-by: Jo-Philipp Wich --- .../luci-app-radicale/root/etc/uci-defaults/40_luci-radicale | 12 ++++++++++++ .../luci-app-radicale/root/etc/uci-defaults/luci-radicale | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100755 applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale delete mode 100755 applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale (limited to 'applications/luci-app-radicale/root/etc/uci-defaults') diff --git a/applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale b/applications/luci-app-radicale/root/etc/uci-defaults/40_luci-radicale new file mode 100755 index 0000000000..333ca65f45 --- /dev/null +++ b/applications/luci-app-radicale/root/etc/uci-defaults/40_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 diff --git a/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale b/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale deleted file mode 100755 index 333ca65f45..0000000000 --- a/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale +++ /dev/null @@ -1,12 +0,0 @@ -#!/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 -- cgit v1.2.3