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/en/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tasks/snmp_agent_uptime/howtos/en') diff --git a/tasks/snmp_agent_uptime/howtos/en/index.html b/tasks/snmp_agent_uptime/howtos/en/index.html index bef6792..2013eb2 100644 --- a/tasks/snmp_agent_uptime/howtos/en/index.html +++ b/tasks/snmp_agent_uptime/howtos/en/index.html @@ -128,7 +128,7 @@ #!/bin/bash
uptime=$(</proc/uptime)
seconds=${uptime%%.*}
- echo "Uptime in seconds:" $seconds
+ echo $seconds
exit 0
  • @@ -171,9 +171,6 @@ command snmpwalk -c students -v1 IPaddressOfServer 1.3.6.1.4.1.8072.1.3.2.4.1.2
  • -
  • - you should get string: "Uptime in seconds: xyz" -
  • -- cgit v1.2.1