|
Last change
on this file since 2734 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
|
File size:
255 bytes
|
| Rev | Line | |
|---|
| [2725] | 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | # Must not find us alive
|
|---|
| 4 | { sleep 2; kill -9 $$; } 2>/dev/null &
|
|---|
| 5 |
|
|---|
| 6 | sleep 1 &
|
|---|
| 7 | PID=$!
|
|---|
| 8 |
|
|---|
| 9 | # We must exit the loop in one second.
|
|---|
| 10 | # We had bug 5304: builtins never waited for exited children
|
|---|
| 11 | while kill -0 $PID >/dev/null 2>&1; do
|
|---|
| 12 | true
|
|---|
| 13 | done
|
|---|
| 14 | echo Ok
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.