Return to fix_ldconfig CVS log | Up to [local] / openbsd / fill_chroot |
File: [local] / openbsd / fill_chroot / fix_ldconfig (download)
Revision 1.3, Wed Dec 21 19:14:12 2005 UTC (18 years, 6 months ago) by andrew
Add a wrapper script and set the default chroot to /var/www |
#!/bin/sh # $RedRiver: fix_ldconfig,v 1.2 2005/12/21 18:16:03 andrew Exp $ CHROOT=${CHROOT:=/var/www} if [ ${CHROOT}"X" == "X" ]; then echo No CHROOT Specified! exit 255 fi mkdir -p ${CHROOT}/bin mkdir -p ${CHROOT}/var/run cp /sbin/ldconfig ${CHROOT}/bin chroot ${CHROOT} /bin/ldconfig /usr/local/lib rm -f ${CHROOT}/bin/ldconfig