Commit f6c3965b authored by Adam Wujek's avatar Adam Wujek 💬

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: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 23781a79
......@@ -43,6 +43,8 @@ stop() {
restart() {
stop
# give time to snmpd to stop
sleep 1
start
}
......
Markdown is supported
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