Don't overwrite configuration files in <sysconfdir>/ppp (#518)

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 <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras 2024-09-14 13:31:56 +10:00 committed by GitHub
parent 1d0bff9bc8
commit 53e6846dff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 8 additions and 7 deletions

View File

@ -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 \