Skip to content
Snippets Groups Projects
Commit f6a816b4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix shm_load script

parent dc7d8c8a
Branches
Tags v3.0.12
No related merge requests found
#!/bin/sh #!/bin/sh
### BEGIN INIT INFO
# Provides: shm_load
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2
# Default-Stop:
# Short-Description: Mount FS for Oracle
### END INIT INFO
case "$1" in case "$1" in
start) mkdir -p /var/lock/subsys start) mkdir -p /var/lock/subsys
touch /var/lock/subsys/listener touch /var/lock/subsys/listener
......
...@@ -63,12 +63,15 @@ ...@@ -63,12 +63,15 @@
command: mount -t tmpfs shmfs -o size=2048m /dev/shm command: mount -t tmpfs shmfs -o size=2048m /dev/shm
- name: Oracle | copy shm load file - name: Oracle | copy shm load file
copy: src=etc_rc2_d_S01shm_load copy: src=etc_init_d_shm_load
dest=/etc/rc2.d/S01shm_load dest=/etc/init.d/shm_load
owner=root owner=root
group=root group=root
mode=755 mode=755
- name: Oracle | add shm load file to bootlist
command: update-rc.d shm_load defaults
- name: Oracle | unpack oracle - name: Oracle | unpack oracle
command: dpkg --install /opt/oracle-xe_11.2.0-2_amd64.deb command: dpkg --install /opt/oracle-xe_11.2.0-2_amd64.deb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment