Hello Martin, the problem seems to be as follows: after your corrections the script finally works. Before, it always yielded an exit code != 0, because of the syntax errors.
Now, I tracked down the problem by printing more logs. It turns out, that hal-system-smbios --st_wlan always yields "1" as the result, regardless of the position of the rfkill switch. Thus, the script always exits with 0, which apparently is wrong. -- [jaunty] [TYPO in script - missing quote] line 81: unexpected EOF while looking for matching `"' /usr/lib/hal/scripts/linux/hal-system-killswitch-get-power-linux: line 84: syntax error: unexpected end of file. https://bugs.launchpad.net/bugs/368553 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs