Verified Commit 58b0b850 authored by Martin Prudek's avatar Martin Prudek
Browse files

Makefile: Add mbim

parent 8ce45ae7
......@@ -43,11 +43,17 @@ define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/lte-metr.init $(1)/etc/init.d/lte-metr
$(INSTALL_DIR) $(1)/lib/netifd/proto
$(INSTALL_BIN) ./files/ $(1)/lib/netifd/proto/
define Package/$(PKG_NAME)/postinst
[ -n "$$IPKG_INSTROOT" ] || {
mv /lib/netifd/proto/ /lib/netifd/proto/
cp /lib/netifd/proto/ /lib/netifd/proto/
/bin/mkdir -p /srv/lte-metr
/etc/init.d/lte-metr enable
/etc/init.d/lte-metr start
......@@ -74,6 +80,7 @@ define Package/$(PKG_NAME)/prerm
/etc/init.d/lte-metr disable
/etc/init.d/lte-metr stop
mv /lib/netifd/proto/ /lib/netifd/proto/
$(eval $(call BuildPackage,$(PKG_NAME)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment