bonding script revised – still working on it though
#!/bin/bash # # script runs simple bonding services for eth1 to bond0 and also does reversion back to just eth1 # tested and created in fedora core 4 # PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin export PATH case $1 in ‘bond0’) # recopy bond0 files back to network scripts cp –reply yes /etc/sysconfig/network-scripts/bak/ifcfg-bond0-eth1 /etc/sysconfig/network-scripts/ifcfg-eth1 cp –reply yes /etc/sysconfig/network-scripts/bak/ifcfg-bond0 /etc/sysconfig/network-scripts/ cp … Read More