From 67e93d6a0a4f15192638e131413b9d64c4269c76 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 12 Apr 2011 15:53:55 +0000 Subject: updating cwfs and moving installer in /rc/bin --- rc/bin/inst/configdist | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 rc/bin/inst/configdist (limited to 'rc/bin/inst/configdist') diff --git a/rc/bin/inst/configdist b/rc/bin/inst/configdist new file mode 100755 index 000000000..3e99bea0d --- /dev/null +++ b/rc/bin/inst/configdist @@ -0,0 +1,22 @@ +#!/bin/rc + +# prereq: mountfs +# desc: choose the source of the distribution archive + +switch($1){ +case checkdone + if(! ~ $distisfrom net local){ + configdist=ready + export configdist + } + +case go + echo 'Are you going to download the distribution' + echo 'from the internet or do you have it on local media?' + echo + prompt -d local 'Distribution is from' local net + distisfrom=$rd + export distisfrom +} + + -- cgit v1.2.3