1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/comms/gnokii/scripts/creategroup
George C A Reid e0a29a5353 Updates this abandoned port to a usable version (0.3.3 pre22) that:
- works with a lot more phones
- has many more features
- has a nice (optional) GUI

Change MAINTAINER to anders@fix.no, with approval from previous MAINTAINER.

PR:		27045
Submitted by:	Anders Nordby <anders@fix.no>
2001-05-03 01:13:00 +00:00

17 lines
295 B
Bash

#!/bin/sh
PATH=/bin:/usr/sbin
GROUP=gnokii
if pw group show "${GROUP}" 2>/dev/null; then
echo "You already have a group \"${GROUP}\", so I will use it."
else
if pw groupadd ${GROUP}; then
echo "Added group \"${GROUP}\"."
else
echo "Adding group \"${GROUP}\" failed..."
exit 1
fi
fi