- install -d -m0755 $(1)/lib/network
- install -m0755 ./files/ppp.sh $(1)/lib/network/
- install -d -m0755 $(1)/etc/ppp
- install -m0600 ./files/etc/ppp/chap-secrets $(1)/etc/ppp/
- install -m0644 ./files/etc/ppp/filter $(1)/etc/ppp/
- install -m0755 ./files/etc/ppp/ip-up $(1)/etc/ppp/
- install -d -m0755 $(1)/etc/ppp/ip-up.d
- install -m0755 ./files/etc/ppp/ip-down $(1)/etc/ppp/
- install -d -m0755 $(1)/etc/ppp/ip-down.d
- install -m0644 ./files/etc/ppp/options $(1)/etc/ppp/
- ln -sf /tmp/resolv.conf $(1)/etc/ppp/resolv.conf
- install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/lib/pppd/$(PKG_VERSION)
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/pppd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/lib/network
+ $(INSTALL_BIN) ./files/ppp.sh $(1)/lib/network/
+ $(INSTALL_DIR) $(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
+ $(INSTALL_BIN) ./files/etc/ppp/ip-down $(1)/etc/ppp/
+ $(INSTALL_DIR) $(1)/etc/ppp/ip-down.d
+ $(INSTALL_BIN) ./files/etc/ppp/ipv6-up $(1)/etc/ppp/
+ $(INSTALL_BIN) ./files/etc/ppp/ipv6-down $(1)/etc/ppp/
+ $(INSTALL_DATA) ./files/etc/ppp/options $(1)/etc/ppp/
+ ln -sf /tmp/resolv.conf.auto $(1)/etc/ppp/resolv.conf