setting speakup to certain settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]