Created
June 7, 2016 16:25
-
-
Save rafaelsnsa/9ff7b282ceff04e272631a02c5f25414 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# enable_snmp_version.sh | |
file="/etc/snmp/snmpd.conf" | |
#echo "view systemview included .1" >> $file | |
echo "exec serial /sbin/version -s" >> $file | |
echo "exec firmware /sbin/version -f" >> $file | |
echo "exec board /sbin/version -b" >> $file | |
cp -r /etc/snmp /mnt/config/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment