On 12/15/2010 1:50 PM, Scott Benson wrote:
> On 12/15/10 10:05 AM, Jim Pingle wrote:
>> What some people do is put their files there in /conf/ and setup a
>> shellcmd to copy them into place at boot time.
>>    
> Where would you put this shellcmd to make it stay after reboots, if the
> only location for custom code on a nanobsd is in /conf/? Also is /conf/
> persistent after reboots on non nanobsd pfsense boxes?  if it is we'll
> just use /conf/ instead of /var/etc/.

A shellcmd is a tag in config.xml - install the shellcmd package for an
easy way to create them. It could be set to call a .sh script also held
in /conf/

As someone else mentioned, /etc/rc.conf_mount_rw is needed to make the
fs read/write before making edits. And /etc/rc.conf_mount_ro can be used
to switch back to read only.

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to