File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ export BCS_COMPRESS="$_arg_compress"
1919export BCS_DECRYPTDIR=" $_arg_decryptdir "
2020export BCS_VERBOSETAR=" $_arg_verbosetar "
2121export BCS_PASSWORD=" $password "
22- # export BCS_LOWDISKSPACE=5230
23- export BCS_LOWDISKSPACE=1385
22+ export BCS_LOWDISKSPACE=2
2423
2524PrintOptions ()
2625{
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ BCS_DEST=$(<"$BCS_PATHFILE")
1818while true ; do
1919 availablespace=$( df -kP " $BCS_DEST " | awk ' {print $4}' | tail -1)
2020 lowspace=" $(( BCS_VOLUMESIZE * BCS_LOWDISKSPACE )) "
21- printf " availablespace %s\n" " $availablespace "
22- printf " lowspace %s\n" " $lowspace "
2321 if [ " $availablespace " -lt " $lowspace " ]; then
2422 printf " LOW AVAILABLE SPACE on %s (%s < %s)\n" " $BCS_DEST " " $availablespace " " $lowspace "
2523 printf " Either free-up space or swap out storage device and press enter\n"
Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ export BCS_COMPRESS="$_arg_compress"
1919export BCS_DECRYPTDIR=" $_arg_decryptdir "
2020export BCS_VERBOSETAR=" $_arg_verbosetar "
2121export BCS_PASSWORD=" $password "
22- # export BCS_LOWDISKSPACE=5230
23- export BCS_LOWDISKSPACE=1385
22+ export BCS_LOWDISKSPACE=2
2423
2524PrintOptions ()
2625{
You can’t perform that action at this time.
0 commit comments