summaryrefslogtreecommitdiffstats
path: root/rules/ppp.make
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-05-04 14:28:11 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2009-05-04 14:28:11 +0000
commit35ab23da5838e7b615da05ee05bd4f95dd015de9 (patch)
tree35f15ad127f1f3f5a288524babb048a5bd6446c9 /rules/ppp.make
parenta65932422c3bdf74e720904edb6fc306457a5853 (diff)
downloadptxdist-35ab23da5838e7b615da05ee05bd4f95dd015de9.tar.gz
ptxdist-35ab23da5838e7b615da05ee05bd4f95dd015de9.tar.xz
* pppd: Make the pppd configuration files optional. Some environments
need them to be generated at runtime, so these files do not make sense in these kinds of enviroments. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10345 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/ppp.make')
-rw-r--r--rules/ppp.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/ppp.make b/rules/ppp.make
index 85b5c5501..d14c38d7f 100644
--- a/rules/ppp.make
+++ b/rules/ppp.make
@@ -156,13 +156,15 @@ ifdef PTXCONF_PPP_INST_CHAT
$(PPP_DIR)/chat/chat, /usr/sbin/chat)
endif
-# # install configuration files
+ifdef PTXCONF_PPP_INST_DEFAULT_CONFIG_FILES
+# # install configuration files (on demand only)
@$(call install_alternative, ppp, 0, 0, 0600, /etc/ppp/options, n)
@$(call install_alternative, ppp, 0, 0, 0750, /etc/ppp/ip-up, n)
@$(call install_alternative, ppp, 0, 0, 0750, /etc/ppp/ip-down, n)
@$(call install_alternative, ppp, 0, 0, 0600, /etc/ppp/options.server, n)
@$(call install_alternative, ppp, 0, 0, 0600, /etc/ppp/options.ttyS0, n)
@$(call install_alternative, ppp, 0, 0, 0600, /etc/ppp/pap-secrets, n)
+endif
# #
# # busybox init