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-olsr/root/etc/uci-defaults/40_luci-olsr | 14 ++++++++++++++ applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100755 applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr delete mode 100755 applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr (limited to 'applications/luci-app-olsr/root/etc') diff --git a/applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr b/applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr new file mode 100755 index 0000000000..63c01e4a2c --- /dev/null +++ b/applications/luci-app-olsr/root/etc/uci-defaults/40_luci-olsr @@ -0,0 +1,14 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@olsrd[-1] + add ucitrack olsrd + set ucitrack.@olsrd[-1].init=olsrd + delete ucitrack.@olsrd6[-1] + add ucitrack olsrd6 + set ucitrack.@olsrd6[-1].init=olsrd6 + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 diff --git a/applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr b/applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr deleted file mode 100755 index 63c01e4a2c..0000000000 --- a/applications/luci-app-olsr/root/etc/uci-defaults/luci-olsr +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -uci -q batch <<-EOF >/dev/null - delete ucitrack.@olsrd[-1] - add ucitrack olsrd - set ucitrack.@olsrd[-1].init=olsrd - delete ucitrack.@olsrd6[-1] - add ucitrack olsrd6 - set ucitrack.@olsrd6[-1].init=olsrd6 - commit ucitrack -EOF - -rm -f /tmp/luci-indexcache -exit 0 -- cgit v1.2.3