mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
13 lines
315 B
Bash
Executable File
13 lines
315 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
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 / - are you SURE"
|
|
echo -n "you want to do this over your installed system (y/n)? "
|
|
read ans
|
|
if [ "$ans" = "y" ]; then
|
|
cat bin.?? | tar --unlink -xpzf - -C /
|
|
fi
|