[alt.sys.sun] Error in SunOS4.1.1 /etc/rc

czech@gmdzi.gmd.de (Richard Czech) (02/25/91)

Hi!

We're here running some Sun SPARCstations, SunOS 4.1.1. Every time a
machine boots I get an error message:

 su: illegal option -- c
 	usage: uucico [-xNUM] [-r[0|1]] -sSYSTEM -uUSERID -dSPOOL -iINTERFACE

The problem is in the startup script /etc/rc. Here are the lines in question:

		if [ -d /usr/lib/uucp ]; then
			su uucp -c /usr/lib/uucp/uusched & \
					echo -n ' uucp'

The line with the 'su uucp' is obviously syntactically wrong. The
argument '-c' is between the user name 'uucp' and the command
'/usr/lib/uucp/uusched'.
The manual page of uusched(8c) gives exactly the same (wrong) syntax.

Now my question: For what purpose is the '-c' in that line. How should
the line look if it was correct. Did it run under SunOS 4.0.3 or earlier
versions?

   regards
-----------------------------------------------------------------
        Richard Czech                  e-mail: czech@gmdzi.gmd.DE
          GMD-E.I.S.                           czech@gmdzi.UUCP
        P.O.Box 12 40                  phone:  (+49) 2241 14 2039
D-5205 St. Augustin 1, Germany         fax:    (+49) 2241 14 2342
-----------------------------------------------------------------