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 17:25:50 +0000
commit7975f41638738e21090b007fdb2dca94c26ec8a6 (patch)
treeddf6c7bcd5afdbb5fbc6c6a0da22ef781300a26c
parentb013da1e5e220f612182fe75801f1f932b5a9844 (diff)
downloadvyatta-op-7975f41638738e21090b007fdb2dca94c26ec8a6.tar.gz
vyatta-op-7975f41638738e21090b007fdb2dca94c26ec8a6.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