]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - release/scripts/base-install.sh
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / release / scripts / base-install.sh
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 if [ "`id -u`" != "0" ]; then
7         echo "Sorry, this must be done as root."
8         exit 1
9 fi
10
11 echo "You are about to extract the base distribution into ${DESTDIR:-/} - are you SURE"
12 echo -n "you want to do this over your installed system (y/n)? "
13 read ans 
14 if [ "$ans" = "y" ]; then
15         cat base.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
16 fi