Something went wrong, hdparm.txt now just shows "/lib/udev/hdparm: 2: exec: -x: not found". Seems you accidentally dropped the "set" in front of the -x? The second line must be
set -x; exec 2>>/tmp/hdparm.txt
Something went wrong, hdparm.txt now just shows "/lib/udev/hdparm: 2: exec: -x: not found". Seems you accidentally dropped the "set" in front of the -x? The second line must be
set -x; exec 2>>/tmp/hdparm.txt