Add script to read/write sysfs attr "enabled"

I have cleaned up the code a bit and removed the subshell code.

Stefan