remove some missplaced/old files

This commit is contained in:
Jakob Olsson 2018-08-22 09:09:04 +02:00 committed by Jakob Olsson
parent ff0dc5b95a
commit f836adcb50
2 changed files with 0 additions and 63 deletions

View file

@ -1,34 +0,0 @@
#!/bin/sh /etc/rc.common
START=14
STOP=96
USE_PROCD=1
NAME=dongled
start_service() {
procd_open_instance
config_load mdmngr
config_get debug mdmngr debug 0
procd_set_param command "/sbin/mdmngr"
# procd_append_param command --debug "$debug"
if [ "$debug" -gt 0 ]
then
procd_append_param command --debug "$debug"
fi
procd_set_param respawn
procd_set_param stdout 1
procd_set_param stderr 1
procd_close_instance
}
service_triggers()
{
procd_add_reload_trigger mdmngr
}
reload_service() {
stop
start
}

View file

@ -1,29 +0,0 @@
#
# Copyright (C) 2018 Inteno
#
include $(TOPDIR)/rules.mk
PKG_NAME:=topologyd
PKG_VERSION:=0.1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/topologyd
CATEGORY:=Utilities
DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl
TITLE:=router topology daemon
endef
#define Build/Compile
# $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/topologyd $(PKG_BUILD_DIR)/topologyd.c $(TARGET_LDFLAGS)
#endef
define Package/topologyd/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/topologyd $(1)/sbin/
endef
$(eval $(call BuildPackage,topologyd))