• November 01, 2024, 05:25:50 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: How to keep changes in /etc/NAS_CFG/p2psettings.xml ??  (Read 3450 times)

mg10

  • Level 1 Member
  • *
  • Posts: 8
How to keep changes in /etc/NAS_CFG/p2psettings.xml ??
« 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
Logged

Manul

  • Level 2 Member
  • **
  • Posts: 48
Re: How to keep changes in /etc/NAS_CFG/p2psettings.xml ??
« Reply #1 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.
Logged

mg10

  • Level 1 Member
  • *
  • Posts: 8
Re: How to keep changes in /etc/NAS_CFG/p2psettings.xml ??
« Reply #2 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.
Logged