summaryrefslogtreecommitdiff
path: root/rc/bin/inst/mountcwfs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-04-22 01:39:00 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-04-22 01:39:00 +0000
commitf246b097baec9ba853953073de3b47cdbe788063 (patch)
treefb9477afb5a59acd26c1b022497c18fcc18664fd /rc/bin/inst/mountcwfs
parent40dab914b7b92e75dd6297ab31c86bea033e8fa9 (diff)
inst: default dist location to /, use old cache format by default... will change back when cwfs can autodetect it
Diffstat (limited to 'rc/bin/inst/mountcwfs')
-rw-r--r--rc/bin/inst/mountcwfs7
1 files changed, 4 insertions, 3 deletions
diff --git a/rc/bin/inst/mountcwfs b/rc/bin/inst/mountcwfs
index 615a01253..40142e8fc 100644
--- a/rc/bin/inst/mountcwfs
+++ b/rc/bin/inst/mountcwfs
@@ -64,16 +64,17 @@ case go
unmount /n/newfs >[2]/dev/null
echo halt >>/srv/cwfs.cmd >[2]/dev/null
rm -f /srv/cwfs /srv/cwfs.cmd
- if(! $fstype -c -C -f $fs </tmp/fsconfig){
+ if(! $fstype -c -f $fs </tmp/fsconfig){
mountfs=ready
export mountfs
exit oops
}
+ log Configuering $fstype file server for $fs
{
echo allow
echo users default
- echo filsys main
+ echo cfs main
echo create /adm adm adm 775 d
echo create /adm/users adm adm 664
echo create /usr sys sys 775 d
@@ -94,7 +95,7 @@ case go
case checkready checkdone
if(! ~ $fstype '' && ~ $#fs 1 && test -f $fs){
if(! test -f /srv/cwfs){
- logprog $fstype -C -f $fs
+ logprog $fstype -f $fs
echo allow >>/srv/cwfs.cmd >>[2]/srv/log
}
if(test -f /srv/cwfs && ! test -f /n/newfs/adm/users){