Skip to content
Snippets Groups Projects
Commit 2ea3f6d2 authored by Casey Chen's avatar Casey Chen
Browse files

[rstp] Make rstp daemon work properly afer reboot


Avoid rstp start and restart run simultaneously during boot time.

Change-Id: If7fabfb4085a55a733fc4f8d44ebcd408e5024bf
Signed-off-by: default avatarCasey Chen <kexinc@codeaurora.org>
......@@ -33,6 +33,7 @@ rstpctl_bridge_list() {
if [ "$autoMode" = "1" ] ; then
network_get_device lanifname lan
if [ "$lanifname" = "$ifname" ]; then
sleep 1
/etc/init.d/rstp restart
fi
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment