forked from ungleich-public/cdist
Cleanup __user_groups oldusermod explorer.
This commit is contained in:
parent
493c8d61f4
commit
86678b5beb
1 changed files with 1 additions and 9 deletions
|
@ -18,12 +18,4 @@
|
||||||
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
os="$($__explorer/os)"
|
usermod --help | grep -q -- '-A group' && echo true || echo false
|
||||||
|
|
||||||
if [ "$os" = "netbsd" ]; then
|
|
||||||
echo netbsd
|
|
||||||
elif [ "$os" = "freebsd" ]; then
|
|
||||||
echo freebsd
|
|
||||||
else
|
|
||||||
usermod --help | grep -q -- '-A group' && echo true || echo false
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue