Redesign component interfaces
[khatus.git] / bin / khatus_sensor_disk_space
index b0f00e6..218d050 100755 (executable)
@@ -2,6 +2,7 @@
 
 set -e
 
-disk_space_device="$1"
+dir_bin="$1"
+disk_space_device="$2"
 
-df --output=pcent "$disk_space_device" | awk 'NR == 2 {print $1}'
+df --output=pcent "$disk_space_device" | "$dir_bin"/khatus_parse_df_pcent
This page took 0.017546 seconds and 4 git commands to generate.