- Timestamp:
- Feb 12, 2006, 2:59:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mindi/rootfs/sbin/wait-for-petris
r30 r378 6 6 # Say what we are doing 7 7 echo -n "Waiting for petris" 8 # Get the right linker for architecture 9 arch=`uname -m` 10 case $arch in 11 'ia64') 12 linker="/lib/ld-linux-ia64.so.2" ;; 13 'x86_64') 14 linker="/lib/ld-linux-x86-64.so.2" ;; 15 *) 16 # we only run on the above two and IA32, so this must be it 17 linker="/lib/ld-linux.so.2" ;; 18 esac 8 19 # First wait for the libraries to become available... 9 while [ ! -f /lib/libncurses.so.5 -o ! -f /lib/libc.so.6 -o ! -f /lib/ld-linux.so.2] ; do20 while [ ! -f /lib/libncurses.so.5 -o ! -f /lib/libc.so.6 -o ! -f "$linker" ] ; do 10 21 echo -n "." 11 22 sleep 1
Note:
See TracChangeset
for help on using the changeset viewer.