patch is applied on first boot after sysupgrade see https://github.com/openwrt/luci/issues/5073
6 lines
147 B
Bash
6 lines
147 B
Bash
#!/bin/sh
|
|
|
|
# see https://github.com/openwrt/luci/issues/5073
|
|
file=/www/luci-static/resources/view/fwknopd.js
|
|
sed -i "s/s:option/s.option/" ${file}
|