mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
- Fix shell for user uucp if running interactive
This commit is contained in:
parent
7b16bd0834
commit
e6544990e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103229
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user