diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-07-08 17:27:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-07-08 17:27:32 +0200 |
commit | e12f9f2abbe7054f005c8c28b2eb416c6b0eb086 (patch) | |
tree | 0da9a26f7b0fa44a210fe8f023102bb39959894b /package/adk-test-tools | |
parent | 3c98ceaa57fe2f1979e6a60e583ad0fe000eef4f (diff) |
fix update-rcconf, rename adk-test package
Diffstat (limited to 'package/adk-test-tools')
-rw-r--r-- | package/adk-test-tools/Makefile | 28 | ||||
-rw-r--r-- | package/adk-test-tools/files/adk-test-tools.postinst | 3 | ||||
-rwxr-xr-x | package/adk-test-tools/files/test.init | 34 | ||||
-rwxr-xr-x | package/adk-test-tools/src/qmp | 4 | ||||
-rwxr-xr-x | package/adk-test-tools/src/quit | 2 |
5 files changed, 0 insertions, 71 deletions
diff --git a/package/adk-test-tools/Makefile b/package/adk-test-tools/Makefile deleted file mode 100644 index f24a14378..000000000 --- a/package/adk-test-tools/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include $(ADK_TOPDIR)/rules.mk - -PKG_NAME:= adk-test-tools -PKG_VERSION:= 0.1 -PKG_RELEASE:= 7 -PKG_DESCR:= helper tools and scripts for adk-test-framework -PKG_SECTION:= base/misc -PKG_URL:= http://openadk.org/ - -NO_DISTFILES:= 1 - -include $(ADK_TOPDIR)/mk/package.mk - -$(eval $(call PKG_template,ADK_TEST_TOOLS,adk-test-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -CONFIG_STYLE:= manual -BUILD_STYLE:= manual -INSTALL_STYLE:= manual - -adk-test-tools-install: - $(INSTALL_DIR) $(IDIR_ADK_TEST_TOOLS)/usr/bin - $(INSTALL_BIN) $(WRKBUILD)/{qmp,quit} \ - $(IDIR_ADK_TEST_TOOLS)/usr/bin - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/adk-test-tools/files/adk-test-tools.postinst b/package/adk-test-tools/files/adk-test-tools.postinst deleted file mode 100644 index f193b2823..000000000 --- a/package/adk-test-tools/files/adk-test-tools.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf test NO diff --git a/package/adk-test-tools/files/test.init b/package/adk-test-tools/files/test.init deleted file mode 100755 index 203a8c973..000000000 --- a/package/adk-test-tools/files/test.init +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -#PKG adk-test-tools -#INIT 90 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${test:-NO}" = x"NO" && exit 0 - test x"$test" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start - exec sh $0 start - ;; -start) - echo "Setting time via network ..." - rdate -nv pool.ntp.org - grep shell /proc/cmdline > /dev/null 2&>1 - if [ $? -eq 0 ];then - exit 0 - fi - echo "Starting test script ..." - if [ -x /run.sh ];then - /run.sh - quit - else - echo "no run.sh found" - quit - fi - ;; -*) - echo "Usage: $0 {start}" - exit 1 - ;; -esac -exit $? diff --git a/package/adk-test-tools/src/qmp b/package/adk-test-tools/src/qmp deleted file mode 100755 index 8f9912222..000000000 --- a/package/adk-test-tools/src/qmp +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -echo '{ "execute": "qmp_capabilities" }' -sleep 1 -echo '{ "execute": "quit" }' diff --git a/package/adk-test-tools/src/quit b/package/adk-test-tools/src/quit deleted file mode 100755 index a625553e2..000000000 --- a/package/adk-test-tools/src/quit +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -socat exec:/usr/bin/qmp tcp:10.0.2.2:4444 |