mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-25 01:31:05 +08:00
Match-id-1dfa3a0229c36252b00c078413911cac87225f79
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
ROOT=$(cd `dirname $0`; pwd)/..
|
||||
DST='/etc/docker/daemon.json'
|
||||
SRC="${DST}.${PPID}"
|
||||
ASCEND_RUNTIME_CONFIG_DIR=/etc/ascend-docker-runtime.d
|
||||
|
||||
if [ ! -f "${DST}" ]; then
|
||||
exit 0
|
||||
@@ -15,3 +16,5 @@ if [ "$?" != "0" ]; then
|
||||
fi
|
||||
|
||||
mv ${SRC} ${DST}
|
||||
|
||||
rm -rf ${ASCEND_RUNTIME_CONFIG_DIR}
|
||||
|
||||
Reference in New Issue
Block a user