diff --git a/Apply/server/1/1.1.1.1.0/run.sh b/Apply/server/1/1.1.1.1.0/run.sh index fe3489e..a3b575b 100644 --- a/Apply/server/1/1.1.1.1.0/run.sh +++ b/Apply/server/1/1.1.1.1.0/run.sh @@ -2,6 +2,9 @@ ## Ensure cramfs kernel module is not available (Automated) -Apply 1 1 "cramfs" echo '/bin/true' > /etc/modprobe.d/cramfs.conf -Apply 0 2 "cramfs" echo "tout va bien" +#Apply 1 1 "cramfs" echo '/bin/true' > /etc/modprobe.d/cramfs.conf +#Apply 0 2 "cramfs" echo "tout va bien" +# +# +echo '/bin/true' > /etc/modprobe.d/cramfs.conf diff --git a/pem-cyber-linux.d/config b/pem-cyber-linux.d/config index fc5b6f9..63a16da 100644 --- a/pem-cyber-linux.d/config +++ b/pem-cyber-linux.d/config @@ -5,4 +5,4 @@ DirApply=$(realpath $(dirname $0))/Apply Debug='-x' #Debug="" -LogDir=/var/log/$(echo $(basename $0) |sed 's/.sh//g')/$(date +%H%m%d%H%M%S) +LogDir=/var/log/$(echo $(basename $0) |sed 's/.sh//g')/$(date +%Y%m%d%H%M%S) diff --git a/pem-cyber-linux.sh b/pem-cyber-linux.sh index 67fed18..28d9c3e 100755 --- a/pem-cyber-linux.sh +++ b/pem-cyber-linux.sh @@ -34,7 +34,7 @@ RealLogDir=$(dirname ${LogDir})/${Action}_$(basename ${LogDir}) [[ ! -d ${RealLogDir} ]] && mkdir -p ${RealLogDir} || true -for File in $(find ${DirAction} -type f -name run.sh| sort -n) +for File in $(find -L ${DirAction} -type f -name run.sh| sort -n) do cd $(dirname ${File}) Test=$(basename $(dirname ${File}))