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

rootfs: sleep 1 second during HALd restart

When hal's init script is called with restart option then script complain
that hal is already running. Probalby it takes some short time to kill hal's child.
Add sleep 1 second to solve this problem.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 68aaa1be
......@@ -48,6 +48,8 @@ stop() {
restart() {
stop
# give HAL time to stop his child
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