setting speakup to certain settings

Daniel Dalton daniel.dalton47 at gmail.com
Sun Nov 25 08:36:18 UTC 2007


Hi,

I am trying to write a shell script to set all the speakup settings on 
boot up. Actually not all but some. I want punc level and reading to be 
at 2 and rate to be at 6.
It seems this is cleared at shutdown. Do I just run my script like this?
./scriptname.sh

This is what I did:
emacs ~/settings-speakup.sh

#!/bin/sh
echo 6 > /proc/speakup/rate
echo 2 > /proc/speakup/punc_level
echo 2 > /proc/speakup/reading_punc

(I hope the last line is correct)
when I save the file and type:
./settings-speakup.sh it says:
bash /settings-speakup.sh permission denied.
If I type it as root I get the same error.
Any ideas?
And once the script works how do I make it be ran when the box boots?

Also does anyone know of a good online guide to shell scripting?
Thanks.

-- 
Daniel Dalton

http://members.iinet.net.au/~ddalton/
daniel.dalton47 at gmail.com




More information about the Blinux-list mailing list