aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-extended/persistence-administrator
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2017-06-15 16:12:05 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2017-06-16 21:56:36 +0900
commit7db13248614cd9fa54886eacc85187b27d7168c1 (patch)
tree43e4c65b93f4f51fec64a4d18bc67c4505be912c /meta-ivi-test/recipes-extended/persistence-administrator
parent16401205431a240e6bdf6209502af8a8a8a394e5 (diff)
downloadmeta-ivi-7db13248614cd9fa54886eacc85187b27d7168c1.tar.gz
meta-ivi-7db13248614cd9fa54886eacc85187b27d7168c1.tar.bz2
meta-ivi-7db13248614cd9fa54886eacc85187b27d7168c1.zip
persistence-administrator: version up to 1.0.9
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-test/recipes-extended/persistence-administrator')
-rw-r--r--meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator/persistence-administrator_t.inc22
1 files changed, 17 insertions, 5 deletions
diff --git a/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator/persistence-administrator_t.inc b/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator/persistence-administrator_t.inc
index 4ff6115..8978fa1 100644
--- a/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator/persistence-administrator_t.inc
+++ b/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator/persistence-administrator_t.inc
@@ -1,4 +1,4 @@
-#!/bin/sh
+roo#!/bin/sh
get_list() {
return 1
}
@@ -14,16 +14,23 @@ _run_1() {
}
run_1() {
+ systemctl start dlt-dbus
+ _p=`pidof NodeStateManager`
+ if [ "x${_p}" != "x" ]; then
+ kill -9 ${_p} >& /dev/null
+ fi
+ systemctl stop nsm-dummy
+ systemctl stop node-startup-controller
+ systemctl stop nsm-dummy
+ systemctl start node-startup-controller
+ systemctl start nsm-dummy
if [ ! -d /tmp/PAS ]; then
rm -f /tmp/PAS
mkdir -p /tmp/PAS
fi
cp ${_run_dir}/resource*.tar.gz /tmp/PAS/
- systemctl restart dlt-dbus
- systemctl restart dlt-example-user
- systemctl restart pas-daemon
- systemctl restart node-startup-controller
+ systemctl start pas-daemon
if [ "x${1}" != "x" ]; then
_run_1 > /tmp/t
_c1=`cat /tmp/t | grep OK | wc -l`
@@ -38,4 +45,9 @@ run_1() {
else
_run_1
fi
+ systemctl stop pas-daemon
+ systemctl stop nsm-dummy
+ systemctl stop node-startup-controller
+ systemctl stop nsm-dummy
+ systemctl stop dlt-dbus
}