Update main.sh

This commit is contained in:
有種 2023-02-05 16:44:05 +08:00 committed by GitHub
parent 4043c2e6e3
commit 283a87b912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ sed -i 's/ ip.neighbors/ luci.ip.neighbors/' luci-app-wifidog/luasrc/model/cbi/w
sed -i "s/nas/services/g" `grep nas -rl luci-app-fileassistant`
sed -i "s/NAS/Services/g" `grep NAS -rl luci-app-fileassistant`
sed -i 's/luciversion = "$(date +%b)"/luciversion = "Feb"/g' diy/zzz-default-settings
sed -i 's/luciversion = "$(date +%b)"/luciversion = "Feb"/g' diy/default-settings
find -type f -name Makefile -exec sed -ri 's#mosdns[-_]neo#mosdns#g' {} \;
bash diy/create_acl_for_luci.sh -a >/dev/null 2>&1