There is misunderstand df with option --direct
script: database-backup-and-maintenance.sh
rows:
PF_USED_SPACE=`du -s $PF_DIRECTORY --exclude=logs --exclude=var | awk '{
print $1 }'`
BACKUPS_AVAILABLE_SPACE=`df --direct $BACKUP_DIRECTORY | awk 'NR == 2 {
print $4 }'`
There is no such df option = --direct
This was found from latest version Debian/6.4.0-1
--
[email protected] (Tel +358 44 767 7777)
WasaLab, P.O.Box 365, FI-65101 Vaasa, Finland
[email protected], +358-45-130-4000
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-devel