diff options
Diffstat (limited to 'spind')
-rwxr-xr-x | spind | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/bash -# Copyright 2004 <plasmaroo@gentoo.org> +# Copyright 1999-2004 Gentoo Foundation # NO WARRANTY; licensed under the GNU GPL2 -CDSIZE=$(($(df | grep cdrom | head -n 1 | awk '{print $2}') - 256)) +CDSIZE=$(($(df -P | grep cdrom | head -n 1 | awk '{print $2}') - 256)) [ -z "${CDSIZE}" ] && echo '>>> Unknown CD size...' && exit 1 echo ">>> CD size: $(($CDSIZE + 256)) K" |