- Timestamp:
- Oct 5, 2006, 2:05:45 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/wait-for-petris
r868 r875 7 7 echo -n "Waiting for petris" 8 8 # Wait for the libraries to become available... 9 while [ ! -f /lib/libncurses.so.5 -o ! -f /lib/libc.so.6] ; do9 while [ ! -f /lib/libncurses.so.5 ] ; do 10 10 echo -n "." 11 sleep 111 sleep 2 12 12 done 13 sleep 2 13 14 # ...then wait for petris 14 15 which petris > /dev/null … … 19 20 done 20 21 # Keep running petris until it's killed or crashes 21 while [ $?-eq 0 ] ; do22 while [ 0 -eq 0 ] ; do 22 23 clear 23 24 sleep 1
Note:
See TracChangeset
for help on using the changeset viewer.