Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: eno on December 08, 2014, 02:03:21 PM

Title: How to update configs in /usr/local/etc after persisting?
Post by: eno on December 08, 2014, 02:03:21 PM
Since the extensions are mounted read-only, what's the normal way to update anything in /usr/local/etc ?
Title: Re: How to update configs in /usr/local/etc after persisting?
Post by: Rich on December 08, 2014, 03:35:04 PM
Hi eno
Replace the link in  /usr/local/etc  with a copy of the file it is pointing to. Edit the file with your changes and add it to your backup.
Title: Re: How to update configs in /usr/local/etc after persisting?
Post by: bmarkus on December 09, 2014, 03:33:07 AM
Packages with config files expected to be modified by user have a startup script which checks exestence of the config file. If doesn't exist they are creating it or copying a default version. If exists this is skipped. Makes a life easier. Study scripts in /usr/local/tce.installed how is it done.