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

Annotation of openbsd/fill_chroot/fix_ldconfig, Revision 1.1

1.1     ! andrew      1: #!/bin/sh
        !             2: # $RedRiver$
        !             3:
        !             4: CHROOT=${CHROOT:=/home/andrew/www}
        !             5:
        !             6: if [ ${CHROOT}"X" == "X" ]; then
        !             7:   echo No CHROOT Specified!
        !             8:   exit 255
        !             9: fi
        !            10:
        !            11: mkdir -p ${CHROOT}/bin
        !            12: mkdir -p ${CHROOT}/var/run
        !            13:
        !            14: cp /sbin/ldconfig ${CHROOT}/bin
        !            15: chroot ${CHROOT} /bin/ldconfig /usr/local/lib
        !            16: rm -f ${CHROOT}/bin/ldconfig
        !            17:

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