Hi List,I have a shell script and want a uninterruptable sleep. /usr/bin/sleep itself seems to have its own signal handlers. How is it possible to sleep uninterruptable?
#!/bin/bash
trap "echo 'Ctrl+C should not work'" INT
for foo in 1 2 3; do
echo $foo
sleep 10
done
## end of script
TIA,
Sascha.
--
[email protected] mailing list

