Show
Ignore:
Timestamp:
02/10/09 20:28:48 (3 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
4170c22b454a672cea64e02c9199b7099dbc9606
Parents:
8784edeece399f9d7eae5a786ea7a0f30a7732da
git-committer:
Frederic Lepied <frederic.lepied@…> (02/10/09 20:28:48)
Message:

added a tester module

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pxe/pxemngr

    rd8ce27d r7218e7c  
    2424fi 
    2525 
    26 if [ ! -x "$BASEDIR"/pxe/$1 ]; then 
     26if [ ! -x "$BASEDIR"/pxe/$1 -a ! -x "$BASEDIR"/tester/$1 ]; then 
    2727    echo "Invalid pxemngr sub-command $1" 1>&2 
    2828fi 
     
    3636shift 
    3737 
    38 exec "$BASEDIR/pxe/$cmd" "$@" 
     38if [ -x "$BASEDIR"/pxe/$cmd ]; then 
     39    exec "$BASEDIR/pxe/$cmd" "$@" 
     40else 
     41    exec "$BASEDIR/tester/$cmd" "$@" 
     42fi 
    3943 
    4044# pxemngr ends here