From fd5740b73510fa3b002c8235f84220aeafff88c5 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sat, 2 Mar 2019 13:16:59 +0100 Subject: tasks.snmp_agent_uptime: fix scripts in howto --- tasks/snmp_agent_uptime/howtos/si/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tasks/snmp_agent_uptime/howtos/si') 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 @@ #!/bin/bash
uptime=$(</proc/uptime)
seconds=${uptime%%.*}
- echo "Uptime in seconds:" $seconds
+ echo $seconds
exit 0

skripto nato shrani kjerkoli hoces @@ -170,9 +170,6 @@ ukaz snmpwalk -c students -v1 IPnaslovStreznika 1.3.6.1.4.1.8072.1.3.2.4.1.2 -
  • - moral bi vrniti taksen string: "Uptime in seconds: xyz" -
  • -- cgit v1.2.1