We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c2a13c commit 2322375Copy full SHA for 2322375
1 file changed
syncd/scripts/syncd_init_common.sh
@@ -18,8 +18,12 @@ if [ -x $CMD_DSSERVE ]; then
18
CMD_ARGS=$CMD_DSSERVE_ARGS
19
else
20
CMD=$CMD_SYNCD
21
+ CMD_ARGS=
22
fi
23
24
+# Use temporary view between init and apply
25
+CMD_ARGS+=" -u"
26
+
27
case "$(cat /proc/cmdline)" in
28
*fast-reboot*)
29
FAST_REBOOT='yes'
@@ -74,7 +78,7 @@ config_syncd_centec()
74
78
75
79
[ -e /dev/linux_dal ] || mknod /dev/linux_dal c 198 0
76
80
[ -e /dev/net/tun ] || ( mkdir -p /dev/net && mknod /dev/net/tun c 10 200 )
77
-
81
82
if [ $FAST_REBOOT == "yes" ]; then
83
CMD_ARGS+=" -t fast"
84
0 commit comments