xref: /original-bsd/etc/FILESTOCOPY (revision 3c66dbce)
1#!/bin/sh -
2#
3# The following files must be copied into the /usr directory
4# on the root filesystem before making the bootstrap root
5# directory for the 4.4BSD distribution. These binaries are
6# needed in configuring the system before the /usr filesystem
7# has been extracted and is available.
8#
9#	@(#)FILESTOCOPY	8.1 (Berkeley) 07/20/93
10#
11DESTDIR=/nbsd
12
13mkdir -p ${DESTDIR}/Busr/bin ${DESTDIR}/Busr/sbin
14cp -p ${DESTDIR}/usr/bin/chgrp ${DESTDIR}/Busr/bin
15cp -p ${DESTDIR}/usr/bin/mt ${DESTDIR}/Busr/bin
16cp -p ${DESTDIR}/usr/bin/passwd ${DESTDIR}/Busr/bin
17cp -p ${DESTDIR}/usr/bin/rsh ${DESTDIR}/Busr/bin
18cp -p ${DESTDIR}/usr/old/bin/tar ${DESTDIR}/Busr/bin
19cp -p ${DESTDIR}/usr/sbin/pwd_mkdb ${DESTDIR}/Busr/sbin
20cd ${DESTDIR}/.
21umount ${DESTDIR}/usr
22rmdir ${DESTDIR}/usr
23mv ${DESTDIR}/Busr ${DESTDIR}/usr
24mount ${DESTDIR}/usr
25