mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
01df2ec328
This is done since it contains much more than /bin, and also gets in the way when making a combined install+fixit CD. OK'ed by: jkh
17 lines
356 B
Bash
Executable File
17 lines
356 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
if [ "`id -u`" != "0" ]; then
|
|
echo "Sorry, this must be done as root."
|
|
exit 1
|
|
fi
|
|
|
|
echo "You are about to extract the base distribution into ${DESTDIR:-/} - are you SURE"
|
|
echo -n "you want to do this over your installed system (y/n)? "
|
|
read ans
|
|
if [ "$ans" = "y" ]; then
|
|
cat base.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
|
|
fi
|