hash change, update initd script

This commit is contained in:
Jakob Olsson 2018-05-17 16:59:48 +02:00
parent 6968be676d
commit 62ed4fb651
3 changed files with 5 additions and 23 deletions

View file

@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=dongled
PKG_VERSION:=0.1
PKG_SOURCE_VERSION:=e12d6f4ca7cdd37732c4b02151a6d1d4d992140f
PKG_SOURCE_VERSION:=159c574c05b2aac35ecf9a39fb1e5d50e9c1ec6d
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git@private.inteno.se:iopsys-onboarding.git
@ -20,7 +20,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/dongled
CATEGORY:=Utilities
DEPENDS:=+libubox +ubus +libmobile +libuci
DEPENDS:=+libubox +ubus +libmobile +libuci
TITLE:=package for 4g dongle stuff
endef
@ -32,9 +32,7 @@ endef
define Package/dongled/install
$(CP) ./files/* $(1)/ # copy from files to final image
$(INSTALL_DIR) $(1)/sbin # make the dir
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_apn $(1)/sbin/ # copy binaries to new directory
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_pin $(1)/sbin/ # copy binaries to new directory
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_network $(1)/sbin/ # copy binaries to new directory
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle $(1)/sbin/ # copy binaries to new directory
endef
$(eval $(call BuildPackage,dongled))

View file

@ -8,21 +8,7 @@ NAME=dongled
start_service() {
procd_open_instance
procd_set_param command "/sbin/dongle_apn"
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
procd_open_instance
procd_set_param command "/sbin/dongle_network"
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
procd_open_instance
procd_set_param command "/sbin/dongle_pin"
procd_set_param command "/sbin/dongle"
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1

View file

@ -52,9 +52,7 @@ endef
define Package/libmobiled/install
$(CP) ./files/* $(1)/ # copy from files to final image
$(INSTALL_DIR) $(1)/sbin # make the dir
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_apn $(1)/sbin/ # copy binaries to new directory
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_pin $(1)/sbin/ # copy binaries to new directory
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle_network $(1)/sbin/ # copy binaries to new directory
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dongle $(1)/sbin/ # copy binaries to new directory
endef
$(eval $(call BuildPackage,libmobile))