15 lines
298 B
Bash
Executable File
15 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. /usr/share/eole/FonctionsEoleNg
|
|
|
|
option=$1
|
|
|
|
if [ "$option" = "instance" ] && [ -d $container_path_web/tmp/toto ] ; then
|
|
Question_ouinon "Voulez-vous supprimer le répertoire ?" "oui"
|
|
[ "$?" = "0" ] && RunCmd "rm -rf /tmp/toto" web
|
|
fi
|
|
|
|
RunCmd "mkdir -p /tmp/toto" web
|
|
|
|
exit 0
|