diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-03-07 21:15:53 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-03-07 21:15:53 +0000 |
commit | 5596bf661daa71691a0019ea388a083913b86a41 (patch) | |
tree | a8d593d42ec683349739aa172f547003c0c54130 /net | |
parent | f352b0c5ce05003380ea5df5330dbb4b4cdc08b2 (diff) | |
download | FreeBSD-ports-5596bf661daa71691a0019ea388a083913b86a41.zip FreeBSD-ports-5596bf661daa71691a0019ea388a083913b86a41.tar.gz |
- Fix shell for user uucp if running interactive
Diffstat (limited to 'net')
-rw-r--r-- | net/freebsd-uucp/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile index 67e86fc..b6f25f2 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} |