[CODE]Index: lib/common/functions.sh
— lib/common/functions.sh(Revision 3187)
+++ lib/common/functions.sh(Arbeitskopie)
@@ -226,6 +226,22 @@
osid=“”;
;;
esac
+CWD=$(pwd)
+if [[ $CWD == “${webdirdest}” ]]
+then
+echo “Seems like you are trying to run …”
+exit 1;
+fi
+if [[ $CWD == “${storage}” ]]
+then
+echo “Seems like you are trying to run …”
+exit 1;
+fi
+if [[ $CWD == “${tftpdirdst}” ]]
+then
+echo “Seems like you are trying to run …”
+exit 1;
+fi
}
configureSnapins()[/CODE]
Edit: Not sure what happens to the indenting here. It’s all there when I paste but disapears when saving the message…