Also use INSTALL_CONF for ppp
authorFlorian Fainelli <florian@openwrt.org>
Fri, 5 Jan 2007 15:34:48 +0000 (15:34 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 5 Jan 2007 15:34:48 +0000 (15:34 +0000)
SVN-Revision: 5994

package/ppp/Makefile

index 7f11f65c8cc5967b79941bd6354aeebbae66ec10..2938b915ef9bacc8a8ba7a7b0a57c4d9a978e3fa 100644 (file)
@@ -117,7 +117,7 @@ define Package/ppp/install
        $(INSTALL_DIR) $(1)/lib/network
        $(INSTALL_BIN) ./files/ppp.sh $(1)/lib/network/
        $(INSTALL_DIR) $(1)/etc/ppp
-       install -m0600 ./files/etc/ppp/chap-secrets $(1)/etc/ppp/
+       $(INSTALL_CONF) ./files/etc/ppp/chap-secrets $(1)/etc/ppp/
        $(INSTALL_DATA) ./files/etc/ppp/filter $(1)/etc/ppp/
        $(INSTALL_BIN) ./files/etc/ppp/ip-up $(1)/etc/ppp/
        $(INSTALL_DIR) $(1)/etc/ppp/ip-up.d
@@ -152,7 +152,7 @@ define Package/ppp-mod-radius/install
        $(INSTALL_DIR) $(1)/etc/ppp/radius
        $(INSTALL_DATA) ./files/etc/ppp/radius/dictionary* \
                $(1)/etc/ppp/radius/
-       install -m0600 ./files/etc/ppp/radius/servers \
+       $(INSTALL_CONF) ./files/etc/ppp/radius/servers \
                $(1)/etc/ppp/radius/
 endef