summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-03-25 09:54:15 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-03-25 09:54:15 +0100
commit7ac5d7807a012f2df6ebcd062fa5e0ac0ccf5356 (patch)
treec4c821d7f042115ee29a73b2283f055954f7e102 /src
parent422c791e5bd46ac905e8181a526ed0c5308cb36f (diff)
downloadnetctl-7ac5d7807a012f2df6ebcd062fa5e0ac0ccf5356.tar.gz
netctl-7ac5d7807a012f2df6ebcd062fa5e0ac0ccf5356.tar.xz
Fix pppoe
The up/down functions don't take arguments as they did in netcfg.
Diffstat (limited to 'src')
-rw-r--r--src/lib/connections/pppoe2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/pppoe b/src/lib/connections/pppoe
index 2578af7..d392397 100644
--- a/src/lib/connections/pppoe
+++ b/src/lib/connections/pppoe
@@ -9,7 +9,7 @@ _quotestring() {
pppoe_up() {
local cfg
- mkdir -p "$STATE_DIR/pppoe.${Interface}.$1/"
+ mkdir -p "$STATE_DIR/pppoe.${Interface}.${Profile}/"
chmod 700 "$STATE_DIR/pppoe.${Interface}.${Profile}/"
cfg="$STATE_DIR/pppoe.${Interface}.${Profile}/options"
: > "${cfg}"