mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-19 15:22:08 +00:00
14 lines
409 B
Bash
14 lines
409 B
Bash
#!/bin/sh
|
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
. /etc/profile
|
|
oe_setup_addon service.net-snmp
|
|
|
|
ADDON_ID=service.net-snmp
|
|
ADDON_DIR="$HOME/.kodi/addons/$ADDON_ID"
|
|
ADDON_HOME="$HOME/.kodi/userdata/addon_data/$ADDON_ID"
|
|
|
|
$ADDON_DIR/bin/snmpd -f -LS0-6d -C -c $ADDON_HOME/share/snmp/snmpd.conf -M $ADDON_DIR/share/snmp/mibs -p /var/run/snmpd.pid
|