f35d1b
diff -up ./esc/rpm/esc.fix25 ./esc/rpm/esc
f35d1b
--- ./esc/rpm/esc.fix25	2015-01-05 16:42:52.346457096 -0800
f35d1b
+++ ./esc/rpm/esc	2015-01-05 16:48:05.473230783 -0800
f35d1b
@@ -18,10 +18,6 @@
f35d1b
 # END COPYRIGHT BLOCK
f35d1b
 
f35d1b
 
f35d1b
-
f35d1b
-
f35d1b
-DO_SECMODE="false"
f35d1b
-SECURITY_URL=
f35d1b
 DO_FORCEMODE="false"
f35d1b
 DO_SHOW_VERSION="false"
f35d1b
 ESC_ARGS=
f35d1b
@@ -30,7 +26,7 @@ ESC_ARGS=
f35d1b
 ESC_PROFILE_BASE=~/.redhat/esc
f35d1b
 ESC_LOG_FILE=esc.log
f35d1b
 
f35d1b
-ESC_PATH=$LIBDIR/esc-1.0.1
f35d1b
+ESC_PATH=$LIBDIR/esc-1.1.0
f35d1b
 ESC_BIN_PATH=/usr/bin
f35d1b
 ESC_EXEC=esc
f35d1b
 ESCD_EXEC=escd
f35d1b
@@ -97,30 +93,17 @@ function processArgs {
f35d1b
             #echo "Do show version!"
f35d1b
             DO_SHOW_VERSION="true"
f35d1b
         fi
f35d1b
-        if [ $DO_SECMODE == "true" ]
f35d1b
-        then
f35d1b
-            #echo "Sec Mode Url $arg"
f35d1b
-            SECURITY_URL=$arg
f35d1b
-        fi
f35d1b
-        if [ $arg == "-secmode" ]
f35d1b
-        then
f35d1b
-            DO_SECMODE="true"
f35d1b
-            #echo "Do security mode!"
f35d1b
-        fi
f35d1b
     done
f35d1b
-
f35d1b
-    if [ $DO_SECMODE == "true" ]
f35d1b
-    then
f35d1b
-        #echo "Launch ESC in security mode!"
f35d1b
-        ARGS="--secmode $SECURITY_URL"
f35d1b
-    fi
f35d1b
 }
f35d1b
 
f35d1b
+
f35d1b
 processArgs $*
f35d1b
 
f35d1b
 if [ ! -d $ESC_PROFILE_BASE ]
f35d1b
 then
f35d1b
     mkdir -p  $ESC_PROFILE_BASE
f35d1b
+    mkdir  $ESC_PROFILE_BASE/$ESC_EXEC
f35d1b
+    chmod -R 755 $ESC_PROFILE_BASE 
f35d1b
 fi
f35d1b
 
f35d1b
 cd $ESC_PATH
f35d1b
@@ -180,7 +163,6 @@ else
f35d1b
     #echo "esc not already running start up and bring up window."
f35d1b
     ./$ESC_EXEC & 
f35d1b
     sleep 4
f35d1b
-
f35d1b
     #echo "done sleeping bring up esc window."
f35d1b
     ./$ESC_EXEC
f35d1b
     exit 0