diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-10-30 10:10:46 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-10-30 10:10:46 +0200 |
commit | 3c23cc64703e246f2ad57070adbdc86fd575907c (patch) | |
tree | 078ff3b4e29a8ddc0213a2198024c64fb9e5c846 /applications/luci-app-travelmate/root/etc/uci-defaults | |
parent | 98e12fcebba7cf0a962f316e572077cacfac43d3 (diff) |
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 <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-travelmate/root/etc/uci-defaults')
-rwxr-xr-x | applications/luci-app-travelmate/root/etc/uci-defaults/40_luci-travelmate | 11 |
1 files changed, 11 insertions, 0 deletions
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 |