Sorry, my fault. I should have tested the script before posting it. I only tested that the check for the power state is working as expected.
I have added the missing "fi" into the script and fixed a typo of a variable in my post #33. ------------------------------------------------------------------------ jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795 View this thread: http://forums.slimdevices.com/showthread.php?t=112460 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
