[no ci] Overlay: add install command for legacy webui (#1384)

This commit is contained in:
viktorxda
2024-04-07 14:08:04 +02:00
committed by GitHub
parent 0e7c07c5b0
commit 405be35e28

View File

@@ -79,6 +79,10 @@ show_wlan() {
grep -r '$1..=' /etc/wireless | cut -d '"' -f4 | sort | grep -e $(fw_printenv -n soc) -e generic
}
legacy_webui() {
curl -s -L https://github.com/openipc/webui/raw/master/files/usr/sbin/updatewebui.sh -o /tmp/webui.sh && sh /tmp/webui.sh
}
# Source configuration files from /etc/profile.d
for i in /etc/profile.d/*.sh; do
[ -r "$i" ] && . $i