Based on your original request, if you simply want your wrapper script to exit if a subscript exits with a non-0 status, then add set -e, as in:
Quote:
Originally Posted by msrahman
Now based on your attachement, I would do something like:
but this would treat the 5 sub-scripts as a single unit -- which may or may not be what you need.
Hai all..
How do i terminate my telnet session automatically when my java applicatiion exits. i have a file run which executes my java application and takes care of all class and library path settings prior to the execution. I would like to terminate my session when my application exits. The... (4 Replies)
In my system , there are a system user "cronusr" , it is mainly to run the crontab job in the database .Sometimes the cronjob process will be failure ( due to some reason ) so that many cronusr process are in the system , it affect other process in the system ,
I want to have a script that can... (2 Replies)
I want to have a script to terminate the system process that generated by user oracle_usr and have already processed for over 10 minutes , could suggest the script ? thx (1 Reply)
We have a system user "oracle_usr" always run some process in the system , but sometimes , these processes will not stop automatically until we terminate the process , can suggest the method how to terminate the process that is run by "oracle_usr" and run over 10 minutes ? thx (5 Replies)
OS : Solaris X86
gcc version 3.4.6
when i run my application, C with Motif application crashed and formed core. I collected the truss ouput.
Incurred fault #6, FLTBOUNDS %pc = 0xFE8B35CD
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000275
Received signal #11, SIGSEGV
siginfo:... (2 Replies)
Hi
I'm trying to do an upgrade for one application and whenever I run the upgradre the program shows the error that mcrypt module is not initially loaded with php.
My server is running xampp 0.9 and I know this library of mcrypt is already installed.
I changed the php.ini file in order to... (0 Replies)
I have executed a command which has ports that have to be assigned.
then I deleted the files. Now I need to reinstall the command. but it says the ports are not free
How to terminate the port connections and reinstall in solaris unix
---------- Post updated at 09:07 PM ----------... (7 Replies)
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
LEARN ABOUT REDHAT
adsl-setup
ADSL-SETUP(8) System Manager's Manual ADSL-SETUP(8)NAME
adsl-setup - Shell script to configure Roaring Penguin PPPoE client
SYNOPSIS
adsl-setup
DESCRIPTION
adsl-setup is a shell script which prompts you for various pieces of information and sets up an /etc/sysconfig/network-scripts/ifcfg-ppp0
configuration script for the adsl-start, adsl-stop and adsl-connect scripts.
AUTHOR
adsl-setup was written by David F. Skoll <dfs@roaringpenguin.com>.
The pppoe home page is http://www.roaringpenguin.com/pppoe/.
SEE ALSO pppoe(8), adsl-start(8), adsl-stop(8), adsl-connect(8), pppd(8), pppoe.conf(5), adsl-status(8), pppoe-sniff(8), pppoe-relay(8), pppoe-
server(8)4th Berkeley Distribution 21 February 2000 ADSL-SETUP(8)