ppp: mark /etc/ppp/ resources as conffiles

SVN-Revision: 23248
This commit is contained in:
Jo-Philipp Wich 2010-10-05 17:13:07 +00:00
parent 27a1e6cc6a
commit 6a10b180ce

View file

@ -40,6 +40,16 @@ define Package/ppp/description
This package contains the PPP (Point-to-Point Protocol) daemon. This package contains the PPP (Point-to-Point Protocol) daemon.
endef 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 define Package/ppp-mod-pppoa
$(call Package/ppp/Default) $(call Package/ppp/Default)
DEPENDS:=ppp +linux-atm +kmod-pppoa DEPENDS:=ppp +linux-atm +kmod-pppoa
@ -71,6 +81,14 @@ This package contains a RADIUS (Remote Authentication Dial-In User Service)
plugin for ppp. plugin for ppp.
endef 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 define Package/chat
$(call Package/ppp/Default) $(call Package/ppp/Default)
DEPENDS:=ppp DEPENDS:=ppp
@ -143,7 +161,7 @@ define Package/ppp/install
$(INSTALL_DATA) ./files/etc/ppp/options $(1)/etc/ppp/ $(INSTALL_DATA) ./files/etc/ppp/options $(1)/etc/ppp/
ln -sf /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf ln -sf /tmp/resolv.conf.ppp $(1)/etc/ppp/resolv.conf
endef endef
define Package/ppp-mod-pppoa/install define Package/ppp-mod-pppoa/install
$(INSTALL_DIR) $(1)/usr/lib/pppd/$(PKG_VERSION) $(INSTALL_DIR) $(1)/usr/lib/pppd/$(PKG_VERSION)
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/pppd/$(PKG_VERSION)/pppoatm.so \ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/pppd/$(PKG_VERSION)/pppoatm.so \