[no ci] Overlay: add install command for legacy webui

pull/1384/head
Viktor 2024-04-07 13:47:41 +02:00
parent 0e7c07c5b0
commit 7a7435abe9
1 changed files with 4 additions and 0 deletions

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