diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-03-08 05:15:53 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-03-08 05:15:53 +0800 |
commit | 5596bf661daa71691a0019ea388a083913b86a41 (patch) | |
tree | a8d593d42ec683349739aa172f547003c0c54130 /net | |
parent | f352b0c5ce05003380ea5df5330dbb4b4cdc08b2 (diff) | |
download | freebsd-ports-graphics-5596bf661daa71691a0019ea388a083913b86a41.tar.gz freebsd-ports-graphics-5596bf661daa71691a0019ea388a083913b86a41.tar.zst freebsd-ports-graphics-5596bf661daa71691a0019ea388a083913b86a41.zip |
- 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 67e86fc4fc8..b6f25f2f052 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} |