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:56:51 +0000
commit52da87b27016cf2d567557e8dbf6275f3ad9321f (patch)
tree8328477bdf536e2a2500c1dd2d75b169b99b7230
parenta787b88d55b2acbf4031486cf5d99e86cd2915c2 (diff)
downloadvyatta-op-52da87b27016cf2d567557e8dbf6275f3ad9321f.tar.gz
vyatta-op-52da87b27016cf2d567557e8dbf6275f3ad9321f.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