]> andersk Git - moira.git/commitdiff
send user prototype files over from SMS
authormar <mar>
Mon, 21 Aug 1989 21:49:32 +0000 (21:49 +0000)
committermar <mar>
Mon, 21 Aug 1989 21:49:32 +0000 (21:49 +0000)
gen/install_dirs

index 35f29531cefd5f9f0e464562852dd34ad487f978..91bae3b90c0d3057c73fd315970d0f554d94f64c 100644 (file)
@@ -10,22 +10,7 @@ set path=(/etc /bin /usr/bin /usr/etc)
 # Find out what device we're working on
 set dev = $1
 
-set TMPSTOR = /tmp/tmpstor     # Temporary area for user . files
-set USERTAR = /tmp/proto.tar   # Tarfile for user . files
-
-# Give ourselves a fresh work area
-rm -rf $USERTAR
-rm -rf $TMPSTOR
-mkdir $TMPSTOR
-if ($status) exit $SMS_PROTO
-
-# Make a tarfile containing the user prototype files for future use.
-(cd /usr/prototype_user;tar cf - .) | (cd $TMPSTOR; tar xpf -)
-chmod -R 444 $TMPSTOR
-chmod 700 $TMPSTOR/Mail
-(cd $TMPSTOR; tar cf $USERTAR .)
-if ($status) exit $SMS_PROTO
-rm -rf $TMPSTOR
+set USERTAR = /tmp/nfs.dir/proto.tar   # Tarfile for user . files
 
 # So that the new directories get the right protections.
 umask 66
@@ -83,8 +68,6 @@ while (1)
    ### Soft failure when ready
 end
 
-# Cleanup
-rm -f $USERTAR
 exit 0
 
 #
This page took 0.316353 seconds and 5 git commands to generate.