remove libimp-control; deprecated; moving to plugins ()

pull/1298/head
gtxaspec 2024-02-04 07:06:59 -08:00 committed by GitHub
parent 9c85071327
commit 47a119121e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 65 deletions

View File

@ -111,5 +111,4 @@ source "$BR2_EXTERNAL_GENERAL_PATH/package/yaml-cli/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/zerotier-one/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-diag-tools/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-libimp-control/Config.in"
source "$BR2_EXTERNAL_GENERAL_PATH/package/ingenic-pwm/Config.in"

View File

@ -1,4 +0,0 @@
config BR2_PACKAGE_INGENIC_LIBIMP_CONTROL
bool "libimp_control"
help
Library for on the fly adjustments to the IMP Library

View File

@ -1,21 +0,0 @@
################################################################################
#
# ingenic-libimp-control
#
################################################################################
INGENIC_LIBIMP_CONTROL_SITE = $(call github,gtxaspec,libimp_control,$(INGENIC_LIBIMP_CONTROL_VERSION))
INGENIC_LIBIMP_CONTROL_VERSION = master
define INGENIC_LIBIMP_CONTROL_BUILD_CMDS
$(MAKE) CONFIG_SOC=$(OPENIPC_SOC_MODEL) CROSS_COMPILE=$(TARGET_CROSS) -C $(@D)
endef
define INGENIC_LIBIMP_CONTROL_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/libimp_control.so $(TARGET_DIR)/usr/lib
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/sbin $(INGENIC_LIBIMP_CONTROL_PKGDIR)/src/imp-control.sh
$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d
$(INSTALL) -m 755 -t $(TARGET_DIR)/etc/init.d $(INGENIC_LIBIMP_CONTROL_PKGDIR)/src/S96impconfig
endef
$(eval $(generic-package))

View File

@ -1,32 +0,0 @@
#!/bin/sh
start() {
[ ! -f "/etc/imp.conf" ] && return
echo -n "Restoring IMP Configuration: "
while read -r line; do
imp-control.sh $line
done < /etc/imp.conf
echo "OK"
}
stop() {
:
}
restart() {
start
}
reload() {
start
}
case "$1" in
start|stop|restart|reload)
"$1"
;;
*)
echo "Usage: $0 {start|restart|reload}"
exit 1
esac

View File

@ -1,7 +0,0 @@
#!/bin/sh
# This script provides a control interface for the libimp_control library.
# It sends commands to the server listening on localhost port 4000.
# Send the command and parameters to the server
echo "imp_control $*" | nc localhost 4000