summaryrefslogtreecommitdiff
path: root/tasks/snmp_agent_uptime/howtos/si
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-03-02 13:16:59 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2019-03-02 13:16:59 +0100
commitfd5740b73510fa3b002c8235f84220aeafff88c5 (patch)
tree4bec710006f9be356830ddc2564ecf0ecddf2291 /tasks/snmp_agent_uptime/howtos/si
parentb632b5fa796044174115b79fe5e91db690624a7c (diff)
tasks.snmp_agent_uptime: fix scripts in howto
Diffstat (limited to 'tasks/snmp_agent_uptime/howtos/si')
-rw-r--r--tasks/snmp_agent_uptime/howtos/si/index.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/tasks/snmp_agent_uptime/howtos/si/index.html b/tasks/snmp_agent_uptime/howtos/si/index.html
index f490f6c..2a14412 100644
--- a/tasks/snmp_agent_uptime/howtos/si/index.html
+++ b/tasks/snmp_agent_uptime/howtos/si/index.html
@@ -126,7 +126,7 @@
<i>#!/bin/bash<br>
uptime=$(&lt;/proc/uptime)<br>
seconds=${uptime%%.*}<br>
- echo "Uptime in seconds:" $seconds<br>
+ echo $seconds<br>
exit 0</i><br>
skripto nato shrani kjerkoli hoces
</li>
@@ -170,9 +170,6 @@
ukaz <i>snmpwalk -c students -v1 IPnaslovStreznika
1.3.6.1.4.1.8072.1.3.2.4.1.2</i>
</li>
- <li>
- moral bi vrniti taksen string: "Uptime in seconds: xyz"
- </li>
</ol>
</li>
</ol>