Skip to content

Commit 5150ed5

Browse files
author
Shuotian Cheng
authored
[interfaces]: Restart networking service after the file is updated (#430)
Signed-off-by: Shuotian Cheng <[email protected]>
1 parent e2cc409 commit 5150ed5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#!/bin/bash
22

33
sonic-cfggen -m /etc/sonic/minigraph.xml -t /usr/share/sonic/templates/interfaces.j2 >/etc/network/interfaces
4-
ifdown eth0 && ifup eth0
5-
ifdown lo && ifup lo
6-
4+
service networking restart

0 commit comments

Comments
 (0)