summaryrefslogtreecommitdiffstats
path: root/etc/rc.initdiskless
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-12-12 08:04:26 +0000
committerobrien <obrien@FreeBSD.org>2004-12-12 08:04:26 +0000
commitd6633b851a063c7040203856626ffd115ba8b0da (patch)
treef94b993590da62b1420bc9807f25acb8283652e1 /etc/rc.initdiskless
parent6e836f2de1a6c5b290452081402f1796d1b6b517 (diff)
downloadFreeBSD-src-d6633b851a063c7040203856626ffd115ba8b0da.zip
FreeBSD-src-d6633b851a063c7040203856626ffd115ba8b0da.tar.gz
Use utils from /rescue vs. /stand. Also use pax rather than cpio & gzip.
Diffstat (limited to 'etc/rc.initdiskless')
-rw-r--r--etc/rc.initdiskless2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initdiskless b/etc/rc.initdiskless
index 5ea4c48..68f6703 100644
--- a/etc/rc.initdiskless
+++ b/etc/rc.initdiskless
@@ -305,7 +305,7 @@ for i in ${templates} ; do
if [ -f $j ]; then
create_md $subdir
echo "Loading /$subdir from cpio archive $j"
- (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d )
+ (cd / ; /rescue/pax -x cpio -r -z -p e -f $j)
fi
done
for j in /conf/$i/*.remove ; do
OpenPOWER on IntegriCloud