summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-03-13 22:38:31 +0000
committerJohn Southworth <john.southworth@vyatta.com>2012-03-13 22:38:42 +0000
commit9d18696fd5d8f85c047a737d7f283c7172e81e17 (patch)
treed60fc066458bf00f7a8b1ff19b39debf291d9a53
parente4938c0d6f527ded7ea46f0d25a22aaba0d67110 (diff)
downloadvyatta-op-9d18696fd5d8f85c047a737d7f283c7172e81e17.tar.gz
vyatta-op-9d18696fd5d8f85c047a737d7f283c7172e81e17.zip
Bugfix 7896: make the pppoe log write as the root user
-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 dd806e3..ab53eb8 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 > \
- /tmp/${IFNAME}.log 2>&1 & )
+ ( umask 0; sudo /usr/sbin/pppd call $IFNAME \
+ | sudo tee /tmp/${IFNAME}.log 2>&1 & )
fi
fi