Quote:
Originally Posted by Henry Loenwind
Code:
#!/bin/sh
if test -f /mnt/free/startup.sh
then
/bin/sh /mnt/free/startup.sh
fi
if test -f /mnt/card/startup.sh
then
/bin/sh /mnt/card/startup.sh
fi
|
Since your script never exits you need to add a &:
Code:
#!/bin/sh
if test -f /mnt/free/startup.sh
then
/bin/sh /mnt/free/startup.sh &
fi
if test -f /mnt/card/startup.sh
then
/bin/sh /mnt/card/startup.sh
fi
Otherwise the rc script hangs.