#!/bin/sh

# Allow it to be enabled using a local file setting
if [ -e /etc/debian-edu/config ] ; then
    . /etc/debian-edu/config
    if [ true = "$MENUREORDER" ] ; then
        exit 0
    fi
fi

# Enable it for all teachers and students if the groups exist
id -Gn | egrep -qw 'teachers|students'
