2 ##############################################################################
3 # Copyright (c) 2015 Ericsson AB and others.
4 # stefan.k.berg@ericsson.com
5 # jonas.bjurel@ericsson.com
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
13 if [ -n "$tmpDir" ]; then
25 tmpDir=`mktemp -d /tmp/deaXXXX`
27 export PATH=`dirname $0`:$PATH
30 error_exit "Argument error"
35 if [ ! -f "$deafile" ]; then
36 error_exit "Can't find $deafile"
39 transplant_fuel_settings.py /etc/fuel/astute.yaml $deafile || \
40 error_exit "Could not transplant astute settings"