summaryrefslogtreecommitdiffstats
path: root/meta-agl/meta-agl-basesystem/recipes-core/agl-systemd/files/tool_9E_SI/launch_sm.sh
blob: ed1e8d124117dbf7a5a8b7c6ec8d62a5c67db320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash -x
#
# @copyright Copyright (c) 2019 TOYOTA MOTOR CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
 
# launch SS_SystemManager
export APPS_CONFIG_FILENAME=sm_launch.cfg
export SM_CONFIG_DATA_FILENAME=gpf_ss_sm_config_data.cfg
export XDG_RUNTIME_DIR=/run/user/0
cd /usr/agl/bin/
rm -rf /nv/romaccess
rm /dev/shm/lockfile

/usr/agl/bin/SS_SystemManager &