#!/bin/sh

# This file should be buggy! Please make it work , if you could
# Check quotas and then turn quota system on:
if fgrep quota /etc/fstab 1> /dev/null 2> /dev/null ; then
  if [ -x /sbin/quotacheck ]; then
    echo "Checking filesystem quotas..."
    /sbin/quotacheck -avug
  fi
  if [ -x /sbin/quotaon ]; then
    echo "Activating filesystem quotas..."
    /sbin/quotaon -avug
  fi
fi


