瀏覽代碼

remove setup files after setup

Bertrand Gouny 9 年之前
父節點
當前提交
902cd13674
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      image/service/slapd/container-start.sh

+ 3 - 0
image/service/slapd/container-start.sh

@@ -299,6 +299,9 @@ EOF
   while [ -e /proc/$SLAPD_PID ]; do sleep 0.1; done
   echo "[ok]"
 
+  echo "First start setup is done, remove setup files"
+  rm -rf ${SERVICE_DIR}/slapd/assets/config
+
   touch $FIRST_START_SETUP_DONE
 fi