mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
e0a29a5353
- 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>
17 lines
295 B
Bash
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
|