summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/etc/uci-defaults
diff options
context:
space:
mode:
authorPaul Spooren <paul@spooren.de>2017-10-21 17:01:07 +0200
committerPaul Spooren <spooren@informatik.uni-leipzig.de>2017-11-04 19:25:10 +0100
commit26c93debe9540412df464f200a7b4d5c7e8d2ac7 (patch)
treef5d20470e29cd5035f81b56e0f1ea65d855f88cb /applications/luci-app-attendedsysupgrade/root/etc/uci-defaults
parent9e325a5162296964661c60e9ccecb134936b4ec6 (diff)
luci-app-attendedsysupgrade: upgrade to version 2
Add required ubus acls from package rpcd-mod-attendedsysupgrade. luci-app-attendedsysupgrade: add postinst script removes caches and restarts uhttpd as mentioned here: https://github.com/aparcar/gsoc17-attended-sysupgrade/issues/58#issuecomment-339370803 luci-app-attendedsysupgrade: redesign simplified the interface and made it more "luci" like simplify ubus interaction, use uci_call und ubus_call functions add optional settings: auto_search: search on opening the view without clicking advanced_mode: if set, allow package edits, show build log rename updateserver to upgradeserver rename url to server_url luci-app-attendedsysupgrade: rename uci options remove leading "upgrade" from uci options also rename server_url to url cleaning use new api/ urls wait for successfull reboot Signed-off-by: Paul Spooren <paul@spooren.de>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root/etc/uci-defaults')
-rwxr-xr-xapplications/luci-app-attendedsysupgrade/root/etc/uci-defaults/40_luci-attendedsysupgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/etc/uci-defaults/40_luci-attendedsysupgrade b/applications/luci-app-attendedsysupgrade/root/etc/uci-defaults/40_luci-attendedsysupgrade
new file mode 100755
index 000000000..832744f7d
--- /dev/null
+++ b/applications/luci-app-attendedsysupgrade/root/etc/uci-defaults/40_luci-attendedsysupgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+rm -rf /tmp/luci-indexcache /tmp/luci-modulecache/
+/etc/init.d/uhttpd restart
+
+return 0