default-settings: remove nas hack

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0c3f2e39d0197d4873a87a50467246c0032df7bd)
This commit is contained in:
Tianling Shen 2021-09-11 04:50:53 +08:00
parent 2834172f91
commit 880f313451
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -11,15 +11,6 @@ rm -f /www/luci-static/resources/view/status/include/70_ddns.js
rm -f /www/luci-static/resources/view/status/include/80_minidlna.js
rm -f /www/luci-static/resources/view/status/include/80_upnp.js
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/aria2.lua
sed -i 's#admin/services#admin/nas#g' /usr/lib/lua/luci/view/aria2/settings_header.htm
sed -i 's/services/nas/g' /root/usr/share/luci/menu.d/luci-app-hd-idle.json
sed -i 's/services/nas/g' /root/usr/share/luci/menu.d/luci-app-minidlna.json
sed -i 's/services/nas/g' /root/usr/share/luci/menu.d/luci-app-mjpg-streamer.json
sed -i 's/services/nas/g' /root/usr/share/luci/menu.d/luci-app-p910nd.json
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/usb_printer.lua
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/xunlei.lua
ln -sf /sbin/ip /usr/bin/ip
sed -i "s/# //g" /etc/opkg/distfeeds.conf