change hotplug trigger to a simpler awk command