Skip to content

Commit c4324f2

Browse files
authored
Update 3topLevel_inner.sh
1 parent 3697941 commit c4324f2

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

upload/3topLevel_inner.sh

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -127,24 +127,8 @@ echo "#!/bin/bash
127127
cd ~oracle
128128
echo create second ORDS pdb takes two minutes on intel i5
129129
echo y |~/bin/createnewpdbminhr
130-
sqlplus system/oracle@ORDS <<EOF
131-
set echo on
132-
grant dba, connect , resource, unlimited tablespace, create session to storm identified by oracle;
133-
EOF
134-
cd ~/storm
135-
if test -f storm.zip
136-
then
137-
if test -f storm.dmp
138-
then
139-
echo storm.zip already unzipped
140-
else
141-
echo unzipping storm.zip
142-
unzip storm.zip >> storm_vm_log 2>&1
143-
fi
144-
echo importing storm.dmp
145-
imp storm/oracle@ORDS FILE=storm.dmp FULL=Y >> storm_vm_log 2>&1
146-
fi
147-
echo End of Import">~oracle/bin/newpdbords
130+
echo Spatial storm data can be loaded with loadstorm script
131+
">~oracle/bin/newpdbords
148132
chmod 755 ~oracle/bin/newpdbords' > /tmp/hrrest.sh
149133
chmod 755 /tmp/hrrest.sh
150134
su - oracle -c '/bin/bash -xc /tmp/hrrest.sh'

0 commit comments

Comments
 (0)