reading from a serial port (boot)
mixo
mixo at beth.uniforum.org.za
Tue Dec 11 01:25:50 EST 2001
My serial port permission look like this:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
crw-rw---- 1 root uucp 4, 64 Dec 11 07:54 ttyS0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Now I have a script that starts up as the machine boots and
read from the serial port. My problem is, it does not get
anything from the port, unless I manualy start it as 'root'.
What do I need do /change to get it to start reading at
boot time?
P.S
The script to start the daemon has the following permissions
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-rwxr-xr-x 1 root root 1463 Dec 10 17:29 myscript.sh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The daemon itself,
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-rwxr-xr-x 1 root root 3678 Dec 10 16:04 mydaemon.py
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the Python-list
mailing list