gettext: fix build with gcc-14; enhance test environment
[oi-userland.git] / components / sysutils / net-snmp / sun / svc-net-snmp
blob446995977273a212c8f0b5f069d9d2760935fdda
1 #!/bin/ksh
4 # CDDL HEADER START
6 # The contents of this file are subject to the terms of the
7 # Common Development and Distribution License (the "License").
8 # You may not use this file except in compliance with the License.
10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 # or http://www.opensolaris.org/os/licensing.
12 # See the License for the specific language governing permissions
13 # and limitations under the License.
15 # When distributing Covered Code, include this CDDL HEADER in each
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # CDDL HEADER END
23 # Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
25 # ident "@(#)svc-net-snmp 1.2 10/10/24 SMI"
27 # Start method script for the net-snmp SNMP daemon
30 . /lib/svc/share/smf_include.sh
32 SNMPD_FILE=/etc/net-snmp/snmp/snmpd.conf
33 SNMPCONFPATH=/etc/net-snmp/snmp:/var/net-snmp
34 MIBDIRS=/etc/net-snmp/snmp/mibs
36 export SNMPCONFPATH
37 export MIBDIRS
39 /usr/sbin/snmpd