[BACK]Return to fill_chroot CVS log [TXT][DIR] Up to [local] / openbsd / fill_chroot

Diff for /openbsd/fill_chroot/fill_chroot between version 1.5 and 1.6

version 1.5, 2006/07/18 03:47:35 version 1.6, 2006/07/20 01:42:59
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: fill_chroot,v 1.4 2006/01/26 17:11:09 andrew Exp $  # $RedRiver: fill_chroot,v 1.5 2006/07/18 02:47:35 andrew Exp $
   
 CHROOT=${CHROOT:=/home/andrew/www}  CHROOT=${CHROOT:=/home/andrew/www}
 export CHROOT  export CHROOT
Line 7 
Line 7 
 perl_to_chroot  perl_to_chroot
 mkdir -p ${CHROOT}/usr/local/lib  mkdir -p ${CHROOT}/usr/local/lib
   
 cd $CHROOT  if [ -e ${CHROOT}/bin/mini_sendmail ]; then
 if [ -e bin/mini_sendmail ]; then          mkdir -p ${CHROOT}/usr/sbin
         ln -sf bin/mini_sendmail usr/sbin/sendmail          cd ${CHROOT}/usr/sbin
           ln -sf ../../bin/mini_sendmail sendmail
           cd ${OLDPWD}
 else  else
         echo mini_sendmail not installed!  Please install it and link it to          echo mini_sendmail not installed!  Please install it and link it to
         echo "    ${CHROOT}/usr/sbin/sendmail"          echo "    ${CHROOT}/usr/sbin/sendmail"

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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