Diff for /elwix/install2uboot.sh between versions 1.1 and 1.1.2.1

version 1.1, 2014/01/20 08:53:13 version 1.1.2.1, 2014/01/20 08:53:13
Line 0 Line 1
   #!/bin/sh
   #
   # ELWIX install script for u-boot image
   #
   # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
   #    by Michael Pounov <misho@elwix.org>
   #
   # $Id$
   #
   
   [ -r ./config/rc.elwix ] && . ./config/rc.elwix
   if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then
           echo
           echo "ELWIX project is not configured !?!"
           echo
           exit 1
   fi
   
   if [ "${USER}" != "root" ]; then
           echo
           echo "ELWIX project is not configured - install must build under root !?!"
           echo
           exit 1
   fi
   
   
   ### main()
   
   if [ -z "$1" -o ! -r "$1" ]; then
           echo
           echo "Error:: ELWIX image file '$1' not found!"
           echo
           exit 2
   fi
   
   
   echo "ELWIX u-boot image $1 complete."

Removed from v.1.1  
changed lines
  Added in v.1.1.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>