From 7ac5d7807a012f2df6ebcd062fa5e0ac0ccf5356 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Mon, 25 Mar 2013 09:54:15 +0100 Subject: Fix pppoe The up/down functions don't take arguments as they did in netcfg. --- src/lib/connections/pppoe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/connections') 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}" -- cgit v1.2.3-24-g4f1b