Changeset 875 in MondoRescue


Ignore:
Timestamp:
Oct 5, 2006, 2:05:45 PM (18 years ago)
Author:
andree
Message:

Just check for libncurses in wait-for-petris to avoid problem with libc
possibly being in /lib/tls. Double the waiting time to 2 seconds
instead and keep respawning petris perpetually.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/rootfs/sbin/wait-for-petris

    r868 r875  
    77echo -n "Waiting for petris"
    88# Wait for the libraries to become available...
    9 while   [ ! -f /lib/libncurses.so.5 -o ! -f /lib/libc.so.6 ] ; do
     9while   [ ! -f /lib/libncurses.so.5 ] ; do
    1010  echo -n "."
    11   sleep 1
     11  sleep 2
    1212done
     13sleep 2
    1314# ...then wait for petris
    1415which petris > /dev/null
     
    1920done
    2021# Keep running petris until it's killed or crashes
    21 while [ $? -eq 0 ] ; do
     22while [ 0 -eq 0 ] ; do
    2223    clear
    2324    sleep 1
Note: See TracChangeset for help on using the changeset viewer.