Make afdp.conf changes permanent

Status
Not open for further replies.

kapnos

Cadet
Joined
Jun 14, 2012
Messages
5
Hi,

I tried to add some parameters in afdp.conf under /conf/base/etc/local/ using mount -uw / but when I restart the service the default configuration gets loaded. What am I doing wrong?
Thanks!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Read the FAQ. The boot drive is read only. You have to run some commands to make it writable.
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,402
Read the FAQ. The boot drive is read only. You have to run some commands to make it writable.
Such as:
I tried to add some parameters in afdp.conf under /conf/base/etc/local/ using mount -uw /!

/etc/afpd.conf is likely generated on service start, but I'm not familiar with it.
 

kapnos

Cadet
Joined
Jun 14, 2012
Messages
5
OK, I found the solution:
1. mount -uw /
2. add the parameters wanted by editing /conf/etc/rc.d/ix-afpd.conf
3. mount -ur /

Cyberjock, better next time try reading the message and not only the title.
 

kapnos

Cadet
Joined
Jun 14, 2012
Messages
5
Some from the sqlite and some in the script, tested it and worked fine after several service restarts and reboots.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Sorry, I thought that command wasn't making it writable. I use a different command normally. Not sure why I thought that, but at least you have your answer.
 
Status
Not open for further replies.
Top