summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/bond
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-03-18 21:59:04 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-03-18 21:59:04 +0100
commit7699be26477ba73ca470658ccec05a55499f7af0 (patch)
treef89f12bae728fa79274bc64180dd491198b919e5 /src/lib/connections/bond
parent1d49567af0acaca79fe9047703a0d94ebaf31064 (diff)
downloadnetctl-7699be26477ba73ca470658ccec05a55499f7af0.tar.gz
netctl-7699be26477ba73ca470658ccec05a55499f7af0.tar.xz
Unhardcode paths
Remove distribution-specific paths (and allow overrides).
Diffstat (limited to 'src/lib/connections/bond')
-rw-r--r--src/lib/connections/bond2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/bond b/src/lib/connections/bond
index 09e51c6..379e272 100644
--- a/src/lib/connections/bond
+++ b/src/lib/connections/bond
@@ -2,7 +2,7 @@
. "$SUBR_DIR/ip"
-IFENSLAVE="/sbin/ifenslave"
+: ${IFENSLAVE:=ifenslave}
bond_up() {
if is_interface "$Interface"; then