rp-pppoe: install default conf file
authorRyan Coe <bluemrp9@gmail.com>
Tue, 2 Dec 2014 23:21:02 +0000 (15:21 -0800)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 3 Dec 2014 22:26:21 +0000 (23:26 +0100)
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Acked-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rp-pppoe/rp-pppoe.mk

index 4e17f2d9fb9f32187a186c48d9a6fb2c638c0aab..70b4437f3f6af588511997076296989f5ebb6e58 100644 (file)
@@ -18,6 +18,8 @@ RP_PPPOE_CONF_ENV = \
        PPPD_H=$(PPPD_DIR)/pppd/pppd.h
 
 define RP_PPPOE_INSTALL_TARGET_CMDS
+       $(INSTALL) -D -m 0644 $(@D)/configs/pppoe.conf \
+               $(TARGET_DIR)/etc/ppp/pppoe.conf
        for ff in $(RP_PPPOE_TARGET_FILES); do \
                $(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \
        done