diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-14 05:57:48 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-01-14 05:57:48 (GMT) |
commit | 3ac192cc25f9a6865566ced1c5a8372dbad665f3 (patch) | |
tree | 2b5d850ddf15454152b6e128e109be63d98d4744 /abs/extra-testing/ifenslave | |
parent | 7f188658c1e6a9eaf4d9644bc725c78c3f6cc5c6 (diff) | |
download | linhes_pkgbuild-3ac192cc25f9a6865566ced1c5a8372dbad665f3.zip linhes_pkgbuild-3ac192cc25f9a6865566ced1c5a8372dbad665f3.tar.gz linhes_pkgbuild-3ac192cc25f9a6865566ced1c5a8372dbad665f3.tar.bz2 |
For those that want to bond multiple NICs. Webmin! Who doesn't love Webmin.
Diffstat (limited to 'abs/extra-testing/ifenslave')
-rw-r--r-- | abs/extra-testing/ifenslave/PKGBUILD | 20 | ||||
-rw-r--r-- | abs/extra-testing/ifenslave/bonding.conf.d | 12 |
2 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra-testing/ifenslave/PKGBUILD b/abs/extra-testing/ifenslave/PKGBUILD new file mode 100644 index 0000000..8a75170 --- /dev/null +++ b/abs/extra-testing/ifenslave/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 12836 2008-09-21 14:41:26Z dan $ +# Maintainer: Judd Vinet <jvinet@zeroflux.org> +pkgname=ifenslave +pkgver=1.1.0 +pkgrel=4 +pkgdesc="Utility for bonding ethernet interfaces" +license=('GPL2') +arch=(i686 x86_64) +url="http://www.linuxfoundation.org/en/Net:Bonding" +depends=('glibc') +source=(ftp://ftp.archlinux.org/other/ifenslave/ifenslave.c bonding.conf.d) +md5sums=('b0d8e4c97094155747cc9238f762c7aa' + '397fccbf574d5082c7a3c8d3793dc000') + +build() { + cd $startdir/src + gcc $CFLAGS -I/usr/src/linux/include ifenslave.c -o ifenslave || return 1 + install -D -m755 ifenslave $startdir/pkg/sbin/ifenslave + install -D -m644 bonding.conf.d $startdir/pkg/etc/conf.d/bonding +} diff --git a/abs/extra-testing/ifenslave/bonding.conf.d b/abs/extra-testing/ifenslave/bonding.conf.d new file mode 100644 index 0000000..3092c5e --- /dev/null +++ b/abs/extra-testing/ifenslave/bonding.conf.d @@ -0,0 +1,12 @@ +# +# Settings for ethernet bonding +# +# For each bond interface declared in INTERFACES (in rc.conf), declare +# a bond_${IF} variable that contains the real ethernet interfaces that +# should be bonded to the bond interface with the ifenslave utility. +# Then list the bond interface name in the BOND_INTERFACES array. +# + +#bond_bond0="eth0 eth1" +#BOND_INTERFACES=(bond0) + |