summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-01-14 07:44:23 +0000
committerjkh <jkh@FreeBSD.org>1995-01-14 07:44:23 +0000
commitb27348e0a503d63e92ea5ead67cea43ff268c1a3 (patch)
tree3a9bc85f4625c516d7c3816b0babb7c56851de98 /release/scripts
parente84a47a834813d4827f3c7380ade661ec5a44e2d (diff)
downloadFreeBSD-src-b27348e0a503d63e92ea5ead67cea43ff268c1a3.zip
FreeBSD-src-b27348e0a503d63e92ea5ead67cea43ff268c1a3.tar.gz
Do the right thing with init for secrdist.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/extract_secure.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/extract_secure.sh b/release/scripts/extract_secure.sh
index 76958b8..818e056 100644
--- a/release/scripts/extract_secure.sh
+++ b/release/scripts/extract_secure.sh
@@ -1,8 +1,11 @@
#!/bin/sh
-# $Id: extract.sh,v 1.17 1994/12/04 03:41:18 jkh Exp $
+# $Id: extract_secure.sh,v 1.1 1995/01/14 07:41:45 jkh Exp $
PATH=/stand:$PATH
DDIR=/
DIST=secure
+# You can't write over the running init
+if [ -f /sbin/init ]; then mv /sbin/init /sbin/init.insecure; fi
+
echo "Extracting ${DIST}"
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
OpenPOWER on IntegriCloud