From bd4dc896642f3074bf7ed260f6cf765733d721a7 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 29 Sep 2017 14:53:20 -0400 Subject: libauthen-radius-perl: move recipe to meta-networking Recipe depends on radius which is located in meta-networking Signed-off-by: Derek Straka Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- .../libauthen/libauthen-radius-perl/run-ptest | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest (limited to 'meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest') diff --git a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest b/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest deleted file mode 100644 index f1c833e6ca..0000000000 --- a/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/run-ptest +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# - -# prepare testing config -CONF_USERS=`readlink -f /etc/raddb/users` -mv ${CONF_USERS} ${CONF_USERS}_orig -echo "testing Cleartext-Password := \"testpassword\"" > ${CONF_USERS} -cat ${CONF_USERS}_orig >> ${CONF_USERS} - -# restart radiusd server -systemctl restart radiusd || /etc/init.d/radiusd restart || { - echo "FAIL: Start radiusd service." - exit 1 -} - -# run teests -perl test.pl - -# restore the config and restart -mv ${CONF_USERS}_orig ${CONF_USERS} -systemctl restart radiusd || /etc/init.d/radiusd restart -- cgit 1.2.3-korg