D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-320L => Topic started by: mg10 on March 01, 2013, 01:25:42 AM

Title: How to keep changes in /etc/NAS_CFG/p2psettings.xml ??
Post by: mg10 on March 01, 2013, 01:25:42 AM
Hello
I'd like to change default p2p complete downloads path. The file "/etc/NAS_CFG/p2psettings.xml" contains paths to incomplete and complete downloads, but any change done doesn't keep after reboot. I tried change permissions to file but always it restores to default configuration after NAS reboots.

Any help, please
Title: Re: How to keep changes in /etc/NAS_CFG/p2psettings.xml ??
Post by: Manul on March 01, 2013, 02:11:57 AM
p2psettings.xml gets copied from /usr/local/config/ (which lives on the device's flash storage) to /etc/NAS_CFG (which lives in RAM) on each boot, so just editing the file in /usr/local/config/ should do the trick.
Title: Re: How to keep changes in /etc/NAS_CFG/p2psettings.xml ??
Post by: mg10 on March 07, 2013, 12:45:54 AM
p2psettings.xml gets copied from /usr/local/config/ (which lives on the device's flash storage) to /etc/NAS_CFG (which lives in RAM) on each boot, so just editing the file in /usr/local/config/ should do the trick.

Thanks very much. I'll test it.