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

pull/1385/head
viktorxda 2024-04-07 14:08:04 +02:00 committed by GitHub
parent 0e7c07c5b0
commit 405be35e28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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