aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-05 17:13:07 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-05 17:13:07 +0000
commita539c87eb3355f02390d56c9d4dfddef0082b6d7 (patch)
treeda736e210bfaed81d8c7542612894f6149937524 /package
parent0fdc96aba90805bded8d96a3d1162af77f8c9b88 (diff)
downloadupstream-a539c87eb3355f02390d56c9d4dfddef0082b6d7.tar.gz
upstream-a539c87eb3355f02390d56c9d4dfddef0082b6d7.tar.bz2
upstream-a539c87eb3355f02390d56c9d4dfddef0082b6d7.zip
[package] ppp: mark /etc/ppp/ resources as conffiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23248 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/ppp/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 4107ef6864..cab220a3e3 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -40,6 +40,16 @@ define Package/ppp/description
This package contains the PPP (Point-to-Point Protocol) daemon.
endef
+define Package/ppp/conffiles
+/etc/ppp/chap-secrets
+/etc/ppp/filter
+/etc/ppp/ip-down
+/etc/ppp/ip-up
+/etc/ppp/ipv6-down
+/etc/ppp/ipv6-up
+/etc/ppp/options
+endef
+
define Package/ppp-mod-pppoa
$(call Package/ppp/Default)
DEPENDS:=ppp +linux-atm +kmod-pppoa
@@ -71,6 +81,14 @@ This package contains a RADIUS (Remote Authentication Dial-In User Service)
plugin for ppp.
endef
+define Package/ppp-mod-radius/conffiles
+/etc/ppp/radius.conf
+/etc/ppp/radius/dictionary
+/etc/ppp/radius/dictionary.asnet
+/etc/ppp/radius/dictionary.microsoft
+/etc/ppp/radius/servers
+endef
+
define Package/chat
$(call Package/ppp/Default)
DEPENDS:=ppp
@@ -143,7 +161,7 @@ define Package/ppp/install
$(INSTALL_DATA) ./files/etc/ppp/options $(1)/etc/ppp/
ln -sf /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf
endef
-
+
define Package/ppp-mod-pppoa/install
$(INSTALL_DIR) $(1)/usr/lib/pppd/$(PKG_VERSION)
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/pppd/$(PKG_VERSION)/pppoatm.so \