Thank you for your reply. I updated the files to be the same as the files you provided and although the client started, it would not boot. It appeared that Jetpipe was not running which implied that the "myjetpipe" file was not executing. The permissions allowed execution of the file so that was not the issue. In the end, I used this script instead (which includes a fair amount of debugging messages) which solved the problem:
#!/bin/bash
echo “Running myjetpipe” > /etc/rcfile.log
argsfile=/etc/jetargs
if [ -f “$argsfile ]
then
read -r JETARGS < $argsfile
echo “Running jetpipe with $JETARGS” >> /etc/rcfile.log
/usr/sbin/jetpipe $JETARGS
if [ $? -ne 0 ]
then
echo “Error running jetpipe” >> /etc/rcfile.log
fi
fi
It all works fine now, and thank you Gelu again for your help and I hope this will help any others who are experiencing the same problem.
Thank you for your reply. I updated the files to be the same as the files you provided and although the client started, it would not boot. It appeared that Jetpipe was not running which implied that the "myjetpipe" file was not executing. The permissions allowed execution of the file so that was not the issue. In the end, I used this script instead (which includes a fair amount of debugging messages) which solved the problem:
#!/bin/bash /etc/jetargs
echo “Running myjetpipe” > /etc/rcfile.log
argsfile=
if [ -f “$argsfile ]
then
read -r JETARGS < $argsfile
echo “Running jetpipe with $JETARGS” >> /etc/rcfile.log
/usr/sbin/jetpipe $JETARGS
if [ $? -ne 0 ]
then
echo “Error running jetpipe” >> /etc/rcfile.log
fi
fi
It all works fine now, and thank you Gelu again for your help and I hope this will help any others who are experiencing the same problem.
- Ben