-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Horn wrote:
> Hi All again,
> 
> I am also not able to run the rtirq script on my 64studio install:
> 
> r...@64studio:~/rtirq-20090920# sh rtirq.sh
> rtirq.sh: 65: source: not found
> rtirq.sh: 74: Syntax error: "(" unexpected

Don't use sh to execute the script.  sh is actually dash on a Debian
system.  Instead, make the script executable with "chmod u+x rtirq.sh"

To execute simply put ./ in front.
sudo ./rtirq.sh start

By default the file is marked as executable when you untar/gzip it.

> 
> Here is the relevant part of the script:
> 
> # Check for existence of needed config file and read it.
> RTIRQ_CONFIG=/etc/sysconfig/rtirq
> [ -r ${RTIRQ_CONFIG} ] || RTIRQ_CONFIG=/etc/default/rtirq
> [ -r ${RTIRQ_CONFIG} ] || RTIRQ_CONFIG=/etc/rtirq.conf
> [ -r ${RTIRQ_CONFIG} ] || {
> ��� echo "`basename $0`: ${RTIRQ_CONFIG}: not found."
> ��� [ "${RTIRQ_ACTION}" = "stop" ] && exit 0 || exit 6
> }

Basically the problem is that script is using bash specific syntax that
dash does not support.  Using sh to execute scripts is a bad habit.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktApY8ACgkQwRXgH3rKGfN1MwCfZNiAEv4lJW7ZgDaUSQxu3u68
IUQAn3LqlkwyLLKzzdaImVcyOfAJGPD1
=zpZM
-----END PGP SIGNATURE-----
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to