Systems File for 3b2

Ken Davis kdavis at lamc.UUCP
Tue Apr 26 08:14:53 AEST 1988


In article <66 at skep2.ATT.COM> wcs at skep2.UUCP (46323-Bill.Stewart.<ho95c>,2G218,x0705,) writes:
>This still doesn't help incoming
>uucp jobs, since uucico doesn't see /etc/profile; does it do the right thing?
>-- 
>#				Thanks;
># Bill Stewart, AT&T Bell Labs 2G218, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs
># skep2 is a local machine I'm trying to turn into a server.  Please send
># mail to ho95c or ho95e instead.  Thanks.

I use a pseudoshell for uucico logins called uucicotime :  it follows:
-------------------------cut here-------------

	#! /bin/sh
	#
	# Yes, I know the above probably won't help on a vanilla
	# S5 system, but it can't hurt, and on some S5 systems
	# it *will* work.
	#
	. /etc/TIMEZONE	# forcibly set TZ
	#
	# Get around Bourne shell bug, present in all vanilla
	# Bourne shells prior to the S5R3 one, that causes "$@"
	# to expand to "", rather than nothing, if there are no
	# arguments to the script.
	#
	if [ $# != 0 ]
	then
		exec /usr/lib/uucp/uucico "$@"
	else
		exec /usr/lib/uucp/uucico
	fi
----------------------------- cut here ------------------------



-- 
Ken Davis - Letterman Army Medical Center - San Francisco, CA 
{pacbell,well,hoptoad}!lamc!kdavis  kdavis at optimis-pent.arpa



More information about the Comp.sys.att mailing list