Added quota

This commit is contained in:
Alexey Berezhok
2025-01-10 22:45:19 +03:00
parent f01015c05d
commit 8e2a9e1f42
2 changed files with 44 additions and 22 deletions

View File

@@ -54,8 +54,8 @@ if [ "$file_system" == "xfs" ]; then
RED='\033[0;31m'
NC='\033[0m'
YELLOW='\033[1;33m'
printf "${RED}!!!!!!!Detected rootflags in grub!!!!!!!${NC}"
echo "${YELLOW}Add manualy 'uquota,pquota' and reboot the system${NC}"
printf "${RED}!!!!!!!Detected rootflags in grub!!!!!!!${NC}\n"
echo "${YELLOW}Add manualy 'uquota,pquota' and reboot the system${NC}\n"
else
grubby --args="rootflags=uquota,pquota" --update-kernel=ALL
fi