]> andersk Git - moira.git/blobdiff - gen/install_dirs
Initial revision
[moira.git] / gen / install_dirs
index 9dc45a101a2fd5987be662bc9a1e5909db00875e..117d8be1d49efd7bb64b1630a90d65c720ab536f 100644 (file)
@@ -17,16 +17,14 @@ set USERTAR = /tmp/proto.tar        # Tarfile for user . files
 rm -rf $USERTAR
 rm -rf $TMPSTOR
 mkdir $TMPSTOR
-if ($status) exit SMS_PROTO
+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 -)
-# Remove the welcome file.  This may change.
-rm -f $TMPSTOR/welcome
 chmod -R 444 $TMPSTOR
 chmod 700 $TMPSTOR/Mail
 (cd $TMPSTOR; tar cf $USERTAR .)
-if ($status) exit SMS_PROTO
+if ($status) exit $SMS_PROTO
 rm -rf $TMPSTOR
 
 # So that the new directories get the right protections.
@@ -69,7 +67,7 @@ while (1)
          
          # ***** Remove this when /etc/encorce_quota becomes obsolete!
          # Give this filesystem a 600K quota
-         setquota -u $dev $uid 600
+         setquota $dev $uid 600
          # *****
 
          # Give user prototype files
This page took 0.033932 seconds and 4 git commands to generate.