From e6544990e544f72f6d77c63f8f61e6f99cb35066 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 7 Mar 2004 21:15:53 +0000 Subject: - Fix shell for user uucp if running interactive --- net/freebsd-uucp/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net/freebsd-uucp') diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile index 67e86fc4fc8f..b6f25f2f052a 100644 --- a/net/freebsd-uucp/Makefile +++ b/net/freebsd-uucp/Makefile @@ -79,6 +79,11 @@ post-install: ${ECHO_CMD} "suucp 4031/tcp #UUCP over SSL"; \ ${ECHO_CMD} "suucp 4031/udp #UUCP over SSL" ) \ > ${DESTDIR}/etc/services +.if !defined(BATCH) + @if test "$$(pw usershow uucp)" != "uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:${PREFIX}/libexec/uucp/uucico"; then \ + pw usermod uucp -s ${PREFIX}/libexec/uucp/uucico; fi + @pw usershow uucp +.endif @${ECHO_MSG} "Use the 'make upgrade' command to copy your old configuration" @${ECHO_MSG} "files from /etc/uucp to the new location in ${PREFIX}/etc/uucp" @${ECHO_MSG} -- cgit v1.2.3