projects
/
safeq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
995807b
)
install snmp and enable mib
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Mar 2019 07:33:06 +0000
(08:33 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 2 Mar 2019 07:33:06 +0000
(08:33 +0100)
debian-install.sh
patch
|
blob
|
history
diff --git
a/debian-install.sh
b/debian-install.sh
index
c948ecc
..
c9e0254
100755
(executable)
--- a/
debian-install.sh
+++ b/
debian-install.sh
@@
-1
+1,4
@@
-sudo apt-get install cups printer-driver-fujixerox cups-ipp-utils printer-driver-cups-pdf
+sudo apt-get install cups printer-driver-fujixerox cups-ipp-utils printer-driver-cups-pdf snmp snmp-mibs-downloader
+
+# enable mibs
+grep -i '^mibs :' /etc/snmp/snmp.conf && perl -p -i -n -e 's/^mibs : .*/mibs +ALL/' /etc/snmp/snmp.conf