mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-23 02:13:28 +08:00
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:
parent
1d0bff9bc8
commit
53e6846dff
15
Makefile.am
15
Makefile.am
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user