From 3c23cc64703e246f2ad57070adbdc86fd575907c Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 30 Oct 2016 10:10:46 +0200 Subject: luci-app-travelmate: user interface for Travelmate package Create user interface for Travelmate, a new package that helps in creating travel router functionality. Signed-off-by: Hannu Nyman --- .../root/etc/uci-defaults/40_luci-travelmate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 applications/luci-app-travelmate/root/etc/uci-defaults/40_luci-travelmate (limited to 'applications/luci-app-travelmate/root/etc') diff --git a/applications/luci-app-travelmate/root/etc/uci-defaults/40_luci-travelmate b/applications/luci-app-travelmate/root/etc/uci-defaults/40_luci-travelmate new file mode 100755 index 0000000000..f7676774a1 --- /dev/null +++ b/applications/luci-app-travelmate/root/etc/uci-defaults/40_luci-travelmate @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@travelmate[-1] + add ucitrack travelmate + set ucitrack.@travelmate[-1].init=travelmate + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 -- cgit v1.2.3