summaryrefslogtreecommitdiff
path: root/user-init
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-01-20 13:33:30 +0000
committerJonas Smedegaard <dr@jones.dk>2007-01-20 13:33:30 +0000
commitebf4465f22cbb7c59377f855f96a6561ed99870a (patch)
tree4fd23fe04f20953ca42421f545898eb98df6a34b /user-init
parenta7d97335b7d5152cc1e8715d855947484f8b16d3 (diff)
Make sure QUOTASOFT and QUOTAHARD is defined always. Fix indentation of setquota command.
Diffstat (limited to 'user-init')
-rwxr-xr-xuser-init5
1 files changed, 4 insertions, 1 deletions
diff --git a/user-init b/user-init
index 6f8ffe2..b87681f 100755
--- a/user-init
+++ b/user-init
@@ -44,6 +44,9 @@ server_root="server"
server_conf="/etc/security/pam_mount.conf"
server_userconf=".winpassword"
+QUOTASOFT="0"
+QUOTAHARD="0"
+
### No servicable parts below this line! ###
if [ -e /etc/adduser.conf ]; then
@@ -116,7 +119,7 @@ for user in $USERS; do
done
for quotahome in $QUOTAHOMES; do
if [ -n "$NEW_QUOTA" ]; then
- setquota "$user" "$quotasoft" "$quotahard" 0 0 "$quotahome"
+ setquota "$user" "$quotasoft" "$quotahard" 0 0 "$quotahome"
else
setquota "$user" "$quotahome" "$quotasoft" "$quotahard" 0 0
fi