diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-01-20 13:33:30 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-01-20 13:33:30 +0000 |
commit | ebf4465f22cbb7c59377f855f96a6561ed99870a (patch) | |
tree | 4fd23fe04f20953ca42421f545898eb98df6a34b /user-init | |
parent | a7d97335b7d5152cc1e8715d855947484f8b16d3 (diff) |
Make sure QUOTASOFT and QUOTAHARD is defined always. Fix indentation of setquota command.
Diffstat (limited to 'user-init')
-rwxr-xr-x | user-init | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |