Fix duplicated lines in r4332
This commit is contained in:
parent
257f7613a0
commit
ca4c8d63dd
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. /etc/alternc/local.sh
|
source /etc/alternc/local.sh
|
||||||
# Set disk quota to an user
|
# Set disk quota to an user
|
||||||
# Won't work over NFS
|
# Won't work over NFS
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ SED=/bin/sed
|
||||||
QUOTA=/usr/sbin/setquota
|
QUOTA=/usr/sbin/setquota
|
||||||
DF=/bin/df
|
DF=/bin/df
|
||||||
|
|
||||||
source /etc/alternc/local.sh
|
|
||||||
|
|
||||||
#checking if quotas are installed
|
#checking if quotas are installed
|
||||||
command -v $QUOTA >/dev/null || { echo "Quotas uninstalled"; exit 1; }
|
command -v $QUOTA >/dev/null || { echo "Quotas uninstalled"; exit 1; }
|
||||||
|
|
Loading…
Reference in New Issue