mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add 'proxy' to the group 'authpf' after create it.
This commit is contained in:
parent
327b7e5a8b
commit
4b7fd242eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83689
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= authpf
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= security ipv6
|
||||
MASTER_SITES= http://pf4freebsd.love2party.net/
|
||||
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
|
||||
|
@ -63,12 +63,12 @@ check_group() {
|
||||
echo ""
|
||||
echo "You need a group '$name' whose ID number is $id"
|
||||
if yesno "Would you like to create it automatically?" y; then
|
||||
pw groupadd -g $id -n $name
|
||||
pw groupadd -g $id -n $name -M proxy
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
echo ""
|
||||
echo "I was not able to add group 'authpf:*:63:' as pw reported:"
|
||||
echo "I was not able to add group '$name:*:63:' as pw reported:"
|
||||
pw groupadd -g $id -n $name -N
|
||||
echo "Please correct this and try again!"
|
||||
echo ""
|
||||
|
Loading…
Reference in New Issue
Block a user