Skip to content

Commit

Permalink
Don't overwrite configuration files in <sysconfdir>/ppp (#518)
Browse files Browse the repository at this point in the history
This renames the configuration files in etc.ppp/ to have ".example"
on the end of their names.  This is so that when they are copied to
<sysconfdir>/ppp (often /etc/ppp), they don't overwrite existing
pppd configuration files, and it is clear that they are just examples.

Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
paulusmack authored Sep 14, 2024
1 parent 1d0bff9 commit 53e6846
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ DIST_SUBDIRS = $(SUBDIRS) include scripts

install-data-hook:
(cd $(DESTDIR)/$(sysconfdir)/$(PACKAGE) ; \
chmod 600 chap-secrets pap-secrets eaptls-server eaptls-client)
chmod 600 chap-secrets.example pap-secrets.example \
eaptls-server.example eaptls-client.example)

sampledir = $(sysconfdir)/$(PACKAGE)
sample_DATA = \
etc.ppp/options \
etc.ppp/chap-secrets \
etc.ppp/pap-secrets \
etc.ppp/eaptls-server \
etc.ppp/eaptls-client \
etc.ppp/openssl.cnf
etc.ppp/options.example \
etc.ppp/chap-secrets.example \
etc.ppp/pap-secrets.example \
etc.ppp/eaptls-server.example \
etc.ppp/eaptls-client.example \
etc.ppp/openssl.cnf.example

EXTRA_README = \
Changes-2.3 \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 53e6846

Please sign in to comment.