mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
questd: start uproxy with questd
This commit is contained in:
parent
9cfa0c0ce9
commit
041b6ee88f
2 changed files with 6 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ define Package/questd/install
|
|||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wificontrol $(1)/sbin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/graphd $(1)/sbin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uproxyd $(1)/sbin/
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
|
||||
endef
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ start_service() {
|
|||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
|
||||
procd_open_instance
|
||||
procd_set_param command "/sbin/uproxyd"
|
||||
procd_set_param respawn
|
||||
procd_close_instance
|
||||
|
||||
pidof imonitor > /dev/null 2>&1 || /sbin/imonitor &
|
||||
}
|
||||
|
||||
|
|
@ -33,4 +38,3 @@ service_triggers()
|
|||
reload_service() {
|
||||
ubus -t 5 call router.network reload
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue