Skip to content

Commit

Permalink
minidlna: enable status
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed May 2, 2019
1 parent 9d0e91e commit 22e633a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/lean/default-settings/files/zzz-default-settings
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/mjpg-streamer.lua
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/p910nd.lua
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

sed -i 's/services/nas/g' /usr/lib/lua/luci/view/minidlna_status.htm

uci set minidlna.config.enabled=0
uci commit minidlna
/etc/init.d/minidlna enable
/etc/init.d/minidlna stop

ln -sf /sbin/ip /usr/bin/ip
Expand Down

0 comments on commit 22e633a

Please sign in to comment.