Commit c449c364 authored by Michel Memeteau's avatar Michel Memeteau

Use /data/domains root dir for domains

parent 9171938b
......@@ -101,16 +101,13 @@ case "$1" in
rm /system/haproxy/haproxy/certs/${2}.pem
fi
fi;;
getsize)
getsize)
# check the current size
if [ $# -ne 2 ]; then
echo "getsize requires a domainname argument."
exit 1
fi
SIZE="`du -hs ${2}`"
#SIZE=${SIZE%G*}
echo $(du -hs ${2}) |cut -d ' ' -f 1;;
echo $(du -hs /data/domains/${2}) |cut -d ' ' -f 1;;
*)
show_usage
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment