plus d'exemples

This commit is contained in:
2013-03-10 22:05:59 +01:00
parent b682750325
commit 14892492e2
9 changed files with 707 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#!/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