If I run the script manually all commands are executed.
Do I have to run the "bad" commands later ... or what?_________________.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)

Last edited by albright on Wed Jul 24, 2013 12:42 pm; edited 1 time in total

How can you tell they're not executed? The parameters aren't set properly later?

If that's the case, are you running any power management software? pm-utils, laptop-mode-tools, or anything similar? If so, it likely has a script somewhere which gets executed later than your local script, which sets those values itself.

laptop-mode tools was set to not enable power saving
on usb when on AC and it rewrote the values after
my baselayout.start script ran_________________.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)