WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to update configs in /usr/local/etc after persisting?  (Read 1615 times)

Offline eno

  • Jr. Member
  • **
  • Posts: 54
How to update configs in /usr/local/etc after persisting?
« 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 ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: How to update configs in /usr/local/etc after persisting?
« Reply #1 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: How to update configs in /usr/local/etc after persisting?
« Reply #2 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."