Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GitHub
committed
Oct 13, 2022
1 parent
92ad44b
commit 0269f61
Showing
9 changed files
with
7 additions
and
55 deletions.
There are no files selected for viewing
7 changes: 1 addition & 6 deletions
7
luci-theme-atmaterial_new/root/etc/uci-defaults/30_luci-theme-atmaterial_new
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
#!/bin/sh | ||
uci batch <<-EOF | ||
set luci.themes.ATMaterial=/luci-static/atmaterial | ||
set luci.themes.ATMaterial_red=/luci-static/atmaterial_red | ||
set luci.themes.ATMaterial_Brown=/luci-static/atmaterial_Brown | ||
commit luci | ||
EOF | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
#!/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 | ||
rm -Rf /var/luci-*cache* | ||
uci batch <<-EOF | ||
set luci.themes.Edge=/luci-static/edge | ||
set luci.main.mediaurlbase=/luci-static/edge | ||
commit luci | ||
EOF | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#!/bin/sh | ||
uci batch <<-EOF | ||
set luci.themes.ifit=/luci-static/ifit | ||
set luci.main.mediaurlbase=/luci-static/ifit | ||
commit luci | ||
EOF | ||
|
||
exit 0 |
6 changes: 1 addition & 5 deletions
6
luci-theme-infinityfreedom/luci-theme-infinityfreedom/files/10_luci-theme-infinityfreedom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#!/bin/sh | ||
uci batch <<-EOF | ||
set luci.themes.infinityfreedom=/luci-static/infinityfreedom | ||
set luci.main.mediaurlbase=/luci-static/infinityfreedom | ||
commit luci | ||
EOF | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#!/bin/sh | ||
uci batch <<-EOF | ||
set luci.themes.mcat=/luci-static/mcat | ||
set luci.main.mediaurlbase=/luci-static/mcat | ||
commit luci | ||
EOF | ||
|
||
exit 0 |
6 changes: 1 addition & 5 deletions
6
luci-theme-neobird/root/etc/uci-defaults/30_luci-theme-neobird
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
#!/bin/sh | ||
uci batch <<-EOF | ||
set luci.themes.Neobird=/luci-static/neobird | ||
set luci.main.mediaurlbase=/luci-static/neobird | ||
commit luci | ||
EOF | ||
|
||
exit 0 | ||
# ↑↑↑ DO NOT EDIT THIS LINE |
6 changes: 1 addition & 5 deletions
6
luci-theme-netgear/root/etc/uci-defaults/30_luci-theme-netgear
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
#!/bin/sh | ||
uci batch <<-EOF | ||
set luci.themes.Netgear=/luci-static/netgear | ||
set luci.main.mediaurlbase=/luci-static/netgear | ||
commit luci | ||
EOF | ||
|
||
exit 0 | ||
# ↑↑↑ DO NOT EDIT THIS LINE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
#!/bin/sh | ||
|
||
if [ "$PKG_UPGRADE" != 1 ]; then | ||
uci batch <<-EOF | ||
set luci.themes.Rosy=/luci-static/rosy | ||
set luci.main.mediaurlbase=/luci-static/rosy | ||
commit luci | ||
EOF | ||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
#!/bin/sh | ||
|
||
if [ "$PKG_UPGRADE" != 1 ]; then | ||
uci batch <<-EOF | ||
set luci.themes.tomato=/luci-static/tomato | ||
set luci.main.mediaurlbase=/luci-static/tomato | ||
commit luci | ||
EOF | ||
fi | ||
|
||
exit 0 |