It should be all one line, from the "for.." to the "...done". However, while those files exist, I just tried it as root... it works(it changes the values), but doesn't seem to do anything. Unless you try with the keyboard half closed(with the lights by default off), then it blinks. Makes me think that something else is controlling those lights by default, at least in Maemo. In Bootloader mode, it should work. edit: Ok, question for you all: I'm going to be splitting up my massive shell script into smaller "includes", and I'll have 6-12 smaller sh files. Where should I put them? - Whats the "appropriate" place to put them, on the rootfs?