summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-03-14 17:25:50 +0000
committerJohn Southworth <john.southworth@vyatta.com>2012-03-14 18:03:58 +0000
commitaa7f3a943df41d1792c6c30c65e196a2fc8f0373 (patch)
tree5897dc5bf335d2de152fcd5372eb7b2244655d80
parentd9ee1d464fce9a81cfe196347dd9d17a6784ddd9 (diff)
downloadvyatta-op-aa7f3a943df41d1792c6c30c65e196a2fc8f0373.tar.gz
vyatta-op-aa7f3a943df41d1792c6c30c65e196a2fc8f0373.zip
better fix for bug 7896
-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