summaryrefslogtreecommitdiffstats
path: root/functions
blob: d612ce36da29e85aafc9fbcf290a080d78feeb76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. /etc/mgatools.conf

function isingroup()
{
    grp="$1"
    for group in `groups`
    do if [ "$grp" = "$group" ]
    then 
	return 0
    fi
    done
    return 1
}