summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/connect/interface/node.tag/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/connect/interface/node.tag/node.def b/templates/connect/interface/node.tag/node.def
index ab53eb8..145e972 100644
--- a/templates/connect/interface/node.tag/node.def
+++ b/templates/connect/interface/node.tag/node.def
@@ -22,7 +22,7 @@ run:
/dev/null 2>&1 & )
else
# PPPOE, PPPOA, WLM interfaces are started directly
- ( umask 0; sudo /usr/sbin/pppd call $IFNAME \
- | sudo tee /tmp/${IFNAME}.log 2>&1 & )
+ ( umask 0; sudo setsid sh -c "nohup /usr/sbin/pppd \
+ call $IFNAME > /tmp/${IFNAME}.log 2>&1 &" )
fi
fi