diff options
author | jkh <jkh@FreeBSD.org> | 1995-01-14 07:44:23 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-01-14 07:44:23 +0000 |
commit | b27348e0a503d63e92ea5ead67cea43ff268c1a3 (patch) | |
tree | 3a9bc85f4625c516d7c3816b0babb7c56851de98 /release | |
parent | e84a47a834813d4827f3c7380ade661ec5a44e2d (diff) | |
download | FreeBSD-src-b27348e0a503d63e92ea5ead67cea43ff268c1a3.zip FreeBSD-src-b27348e0a503d63e92ea5ead67cea43ff268c1a3.tar.gz |
Do the right thing with init for secrdist.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/extract_secure.sh | 5 |
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 ) |