Return to fix_ldconfig CVS log | Up to [local] / openbsd / fill_chroot |
File: [local] / openbsd / fill_chroot / fix_ldconfig (download)
Revision 1.1, Wed Dec 21 18:04:06 2005 UTC (18 years, 6 months ago) by andrew
add stuff for the web server to get stuff we need into the chroot. |
#!/bin/sh # $RedRiver$ CHROOT=${CHROOT:=/home/andrew/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