#!/bin/bash ### # chkconfig: 35 90 10 # Description: Start all the opmn processes ### # Standard functions . /etc/init.d/functions ############################################################################### # start ############################################################################### start(){ echo "Launching NodeManager" su - oracle -c "nohup /u01/app/oracle/product/forms112/instances/FRinst/bin/opmnctl startall > /tmp/opmn_nohup.out &" } ############################################################################### # main ############################################################################### case "$1" in start) start ;; *) echo $"Usage: $0 {start}" RETVAL=1 esac exit $RETVAL