Skip to content
Snippets Groups Projects
Commit f6c3965b authored by Adam Wujek's avatar Adam Wujek :speech_balloon:
Browse files

rootfs: sleep 1 second during snmp restart


When snmpd's init script is called with restart option then script complain
that snmp is already running. Probalby it takes some short time to kill snmp.
Add sleep 1 second to solve this problem.

Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
parent 23781a79
Branches
Tags
No related merge requests found
......@@ -43,6 +43,8 @@ stop() {
restart() {
stop
# give time to snmpd to stop
sleep 1
start
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment