Match-id-1dfa3a0229c36252b00c078413911cac87225f79

This commit is contained in:
BianTanggui
2020-10-19 11:59:21 +08:00
parent 74edb62e28
commit a70c4c07b0
9 changed files with 239 additions and 77 deletions

View File

@@ -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}