mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
luci-app-mtwifi-cfg: add patch for network.js
This commit is contained in:
parent
30536c7e13
commit
f7eaac3baf
@ -7,3 +7,11 @@ fi
|
||||
if [ -d /usr/share/luci/menu.d ]; then
|
||||
mv -f /usr/share/luci-app-mtwifi-cfg/luci-mod-status.json /usr/share/luci/menu.d/luci-mod-status.json
|
||||
fi
|
||||
|
||||
luci_network_js="/www/luci-static/resources/network.js"
|
||||
|
||||
if [ -f $luci_network_js ]; then
|
||||
if ! grep -sq 'ra\[xiyez\]' $luci_network_js ; then
|
||||
sed -i 's#/^wlan\\d+/,#/^wlan\\d+/,/^ra[xiyez]?\\d+/,/^apcli[xiyez]?\\d+/,#' $luci_network_js
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user