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.
# ***** 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