Skip to content

Commit 53e6846

Browse files
authored
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 <[email protected]>
1 parent 1d0bff9 commit 53e6846

7 files changed

+8
-7
lines changed

Makefile.am

+8-7
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ DIST_SUBDIRS = $(SUBDIRS) include scripts
1010

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

1516
sampledir = $(sysconfdir)/$(PACKAGE)
1617
sample_DATA = \
17-
etc.ppp/options \
18-
etc.ppp/chap-secrets \
19-
etc.ppp/pap-secrets \
20-
etc.ppp/eaptls-server \
21-
etc.ppp/eaptls-client \
22-
etc.ppp/openssl.cnf
18+
etc.ppp/options.example \
19+
etc.ppp/chap-secrets.example \
20+
etc.ppp/pap-secrets.example \
21+
etc.ppp/eaptls-server.example \
22+
etc.ppp/eaptls-client.example \
23+
etc.ppp/openssl.cnf.example
2324

2425
EXTRA_README = \
2526
Changes-2.3 \
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 commit comments

Comments
 (0)