9 lines
160 B
Bash
Executable File
9 lines
160 B
Bash
Executable File
#! /bin/sh
|
|
if grep -q nmr /etc/group; then
|
|
echo "group nmr already exists" ;
|
|
else
|
|
echo "creating group nmr" ;
|
|
groupadd nmr || echo "failed!"
|
|
fi
|
|
|