Originally Posted by pan64
you should show us that script (or at least the important part). By default the shell waits for the programs until they are completed...
The code is as follows
./finger/fingerprint /dev/ttyUSB0 /status.txt /template.txt;
if [ "$fingerstatus" = "AUTH" ]
echo "successfully authinticated"
this is a part of my script which executes the compiled C program "fingerprint" and the next two lines are arguments passed to the program. This program when called communicates with a fingerprint device and tells if the finger is authenticated or not. This script runs as expected when called from a terminal but if included in the second stage of the boot process in init.d with symbolic links in rc2.d this script calls the program but exits before the program does its job. This is where I am stuck.