Containerization feature of SO
[so.git] / packages / arquillian-unit-tests / src / test / resources / resource-examples / asdc / simpleNotif-V3 / artifacts / mount_iso_script.sh
diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/mount_iso_script.sh
deleted file mode 100644 (file)
index 91df598..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash\r
-\r
-#. .config \r
-#following would be in the .config file\r
- device_name="/dev/vde"\r
- install_script="install_nimbus.sh"\r
- enable_logic_flag_file=".flag"\r
-#end of config file\r
-\r
-#get the semaphore, 0 - disbaled, 1- enabled\r
-flag=$(cat ${enable_logic_flag_file})\r
-\r
-#check if device is mounted already\r
-test=$(mount | grep ${device_name})\r
-if [ "$flag" == "1" ]; then\r
-       if [ -e ${device_name} ] && [ ! "${test}" ]; then\r
-               #mount the iso image\r
-               mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso\r
-               #if availabe run the install script (it contains the install.sh steps)\r
-               if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then\r
-                       ${install_script}\r
-               fi\r
-               #disable the script from attempting to \r
-               #  mount and run install again until needed;\r
-               echo "0" > ${enable_logic_flag_file}\r
-               #if nedeed add step to comment out the crontab line here;\r
-       fi\r
-else\r
-       echo "Auto mounting ISO & run install logic disabled!"\r
-fi\r
-\r
-#cron job\r
-# * * * * * /mount_iso_script.sh\r
-\r