Explorar el Código

remove setup files after setup

Bertrand Gouny hace 10 años
padre
commit
902cd13674
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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