mounts=( "\"CAM_UBEICE0001\" \"bldg_56_ref - CAMERA_IN_AP_1\"" "\"CAM_UBEICE0002\" \"bldg_56_ref - CAMERA_IN_AP_2\"" "\"BSM_0001\" \"bldg_56_ref - REF_MOD_AP_1\"" "\"BSM_0002\" \"bldg_56_ref - REF_MOD_AP_2\"" "\"BSM_0003\" \"bldg_56_ref - REF_MOD_AP_3\"" "\"UBECU0001\" \"bldg_56_ref - BDI_P_1\"" "\"IPS-OUT_1001\" \"bldg_56_ref - IPS_OUT_AP_1\"" "\"IPS-OUT_1002\" \"bldg_56_ref - IPS_OUT_AP_2\"" "\"IPS-OUT_1003\" \"bldg_56_ref - IPS_OUT_AP_3\"" "\"IPS-OUT_1004\" \"bldg_56_ref - IPS_OUT_AP_4\"" "\"IPS-OUT_1005\" \"bldg_56_ref - IPS_OUT_AP_5\"" "\"IPS-OUT_1006\" \"bldg_56_ref - IPS_OUT_AP_6\"" "\"IPS-OUT_1007\" \"bldg_56_ref - IPS_OUT_AP_7\"" "\"IPS-OUT_1008\" \"bldg_56_ref - IPS_OUT_AP_8\"" "\"IPS-OUT_1009\" \"bldg_56_ref - IPS_OUT_AP_9\"" "\"IPS-OUT_1010\" \"bldg_56_ref - IPS_OUT_AP_10\"" "\"IPS-OUT_1011\" \"bldg_56_ref - IPS_OUT_AP_11\"" "\"IPS-OUT_3001\" \"bldg_56_ref - IPS_OUT_AP_12\"" "\"IPS-IN_2101\" \"bldg_56_ref - IPS_IN_AP_1\"" "\"IPS-IN_2102\" \"bldg_56_ref - IPS_IN_AP_2\"" "\"IPS-IN_2103\" \"bldg_56_ref - IPS_IN_AP_3\"" "\"IPS-IN_2104\" \"bldg_56_ref - IPS_IN_AP_4\"" "\"IPS-IN_2105\" \"bldg_56_ref - IPS_IN_AP_5\"" "\"IPS-IN_2106\" \"bldg_56_ref - IPS_IN_AP_6\"" "\"IPS-IN_2107\" \"bldg_56_ref - IPS_IN_AP_7\"" "\"IPS-IN_2201\" \"bldg_56_ref - IPS_IN_AP_8\"" "\"IPS-IN_2202\" \"bldg_56_ref - IPS_IN_AP_10\"" "\"IPS-IN_2203\" \"bldg_56_ref - IPS_IN_AP_11\"" "\"IPS-IN_2204\" \"bldg_56_ref - IPS_IN_AP_12\"" "\"IPS-IN_2205\" \"bldg_56_ref - IPS_IN_AP_13\"" "\"IPS-IN_2206\" \"bldg_56_ref - IPS_IN_AP_14\"" "\"IPS-IN_2207\" \"bldg_56_ref - IPS_IN_AP_15\"" ) rm /tmp/moutall.sh for i in "${mounts[@]}"; do CMD="/shd/CTC/SV/mounting/ism_client.py mount "$i"" echo $CMD >> /tmp/moutall.sh done chmod +x /tmp/moutall.sh /tmp/moutall.sh