#!/bin/bash

# Alias: Enable Builtin SNMPTrap Server
# Menu: Addons
# Description:
#  If this option is enabled then mkeventd starts a builtin snmptrap
#  server that receives snmptrap messages via TCP port 162.
#  Enabling this option makes the mkeventd started via a SUID helper
#  that first opens the (priviledged) port 162 and then starting the
#  actual event daemon.

case "$1" in
    default)
        echo "off"
    ;;
    choices)
        echo "on: enable"
        echo "off: disable"
    ;;
    depends)
        [ "$CONFIG_MKEVENTD" = on ]
    ;;
esac
