diff --git a/luci-theme-argonne/root/etc/uci-defaults/90_luci-theme-argonne b/luci-theme-argonne/root/etc/uci-defaults/90_luci-theme-argonne index 093f61612..912c3aae5 100644 --- a/luci-theme-argonne/root/etc/uci-defaults/90_luci-theme-argonne +++ b/luci-theme-argonne/root/etc/uci-defaults/90_luci-theme-argonne @@ -1,12 +1,12 @@ #!/bin/sh sed -i ":a;$!N;s/tmpl.render.*sysauth_template.*return/local scope = { duser = default_user, fuser = user }\nlocal ok, res = luci.util.copcall\(luci.template.render_string, [[<% include\(\"themes\/\" .. theme .. \"\/sysauth\"\) %>]], scope\)\nif ok then\nreturn res\nend\nreturn luci.template.render\(\"sysauth\", scope\)/;ba" /usr/lib/lua/luci/dispatcher.lua sed -i ":a;$!N;s/t.render.*sysauth_template.*return/local scope = { duser = h, fuser = a }\nlocal ok, res = luci.util.copcall\(luci.template.render_string, [[<% include\(\"themes\/\" .. theme .. \"\/sysauth\"\) %>]], scope\)\nif ok then\nreturn res\nend\nreturn luci.template.render\(\"sysauth\", scope\)/;ba" /usr/lib/lua/luci/dispatcher.lua -[ -f /usr/lib/lua/luci/view/themes/argonnene/out_header_login.htm ] && mv -f /usr/lib/lua/luci/view/themes/argonnene/out_header_login.htm /usr/lib/lua/luci/view/header_login.htm +[ -f /usr/lib/lua/luci/view/themes/argonne/out_header_login.htm ] && mv -f /usr/lib/lua/luci/view/themes/argonne/out_header_login.htm /usr/lib/lua/luci/view/header_login.htm rm -Rf /var/luci-modulecache rm -Rf /var/luci-indexcache uci batch <<-EOF - set luci.themes.Argonne=/luci-static/argonnene - set luci.main.mediaurlbase=/luci-static/argonnene + set luci.themes.Argonne=/luci-static/argonne + set luci.main.mediaurlbase=/luci-static/argonne commit luci EOF exit 0 \ No newline at end of file