From 5150ed55c7f3f0d137c96ab2f38b42de19738304 Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Thu, 23 Mar 2017 16:30:18 -0700 Subject: [PATCH] [interfaces]: Restart networking service after the file is updated (#430) Signed-off-by: Shuotian Cheng --- files/image_config/interfaces/interfaces-config.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/files/image_config/interfaces/interfaces-config.sh b/files/image_config/interfaces/interfaces-config.sh index f36f45b555..e260601976 100755 --- a/files/image_config/interfaces/interfaces-config.sh +++ b/files/image_config/interfaces/interfaces-config.sh @@ -1,6 +1,4 @@ #!/bin/bash sonic-cfggen -m /etc/sonic/minigraph.xml -t /usr/share/sonic/templates/interfaces.j2 >/etc/network/interfaces -ifdown eth0 && ifup eth0 -ifdown lo && ifup lo - +service networking restart