summaryrefslogtreecommitdiffstats
path: root/src/lib/auto.action
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-04-10 20:33:38 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2013-04-10 20:33:38 +0200
commitaa20dd1eaeecd73e52d656ac3ca4d1a2a558edba (patch)
treecee0cc68ccc075d5cc14333f86beac0747aa1b4a /src/lib/auto.action
parent0f36b0b8553e540e37cab99666a2a577fefdf12c (diff)
downloadnetctl-aa20dd1eaeecd73e52d656ac3ca4d1a2a558edba.tar.gz
netctl-aa20dd1eaeecd73e52d656ac3ca4d1a2a558edba.tar.xz
Fix DHCPOptions
Split them into different variables for different clients. Also, IP6 gets its own, so that it can have options different from the IP4 invocation.
Diffstat (limited to 'src/lib/auto.action')
-rwxr-xr-xsrc/lib/auto.action4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/auto.action b/src/lib/auto.action
index 6cb6ff5..feebd77 100755
--- a/src/lib/auto.action
+++ b/src/lib/auto.action
@@ -17,10 +17,10 @@ case $action in
if [[ -x "$PROFILE_DIR/interfaces/$interface" ]]; then
source "$PROFILE_DIR/interfaces/$interface"
fi
- dhcpcd -qL -t "${TimeoutDHCP:-10}" $DHCPOptions -K "$interface"
+ dhcpcd -qL -t "${TimeoutDHCP:-10}" $DhcpcdOptions -K "$interface"
exit $?
fi
- DHCPOptions+=" -K"
+ DhcpcdOptions+=" -K"
ip_set || exit 1
# JP: sandbox the eval
if ! ( eval $ExecUpPost ); then