By the way ZDevil, the keymap fix you have in the directory won't work. it puts the 'fix' after the exit 0 line. There is a problem with this start-stop daemon. I'm going to fiddle with reversing the fix and see what happens.
Could you be more specific about the keymap case? I still don't quite get what you mean by the "fix" and the "exit 0" (neither in the script nor in the keymap ... )
The keymap was copied directly from my Z, which should work, otherwise my Z won't be doing anything these days. (The scripts and the files were done on my Z)
The start-stop daemon part is from 2or0. Maybe he can answer this.
Hi ZDevil, I'll do my best to explain. In the first script the keymap fix is this:
# keymap
echo "Now let's load the right keymap for your Zaurus..."
cp keymap.map /etc/keymap.map &&
loadkeys /etc/keymap.map &&
echo "loadkeys /etc/keymap.map" >> /etc/rc.local &&
echo "Done."
echo ""
The bit in bold appends the loadkeys command to the end of the rc.local file.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
<====== here is where the loadkeys bit should go, I think.
exit 0
<============ it actually gets put here.
I know because I've edited the file after running the script, it worked when I moved the line.
When this happens the script doesn't work. It does work if you edit the copied line to come before the exit 0 part. I could of course be talking rubbish from the effects of lack of sleep. It's easy to check this out.
Now the bit about start-stop-daemon is easy to explain. There is nothing wrong with your script. My problem was that I did 2or0's fix for this daemon manually. I then ran your script. This resulted in a non-working daemon. I extracted the two necessary files from the tar and copied them into sbin. I then ran the commands from your script and it did what it was supposed to. So that problem was of my own making.
I have a non-responsive gui screen in front of me. Your second script worked fine with me using zecrazytux's repository suggestion.
I now need to sort out the touch screen aetc. But that will no doubt be explained somewhere in the posts in this thread. I must go to bed!
Cheers